I'm trying to import the Aravt homepage theme to WordPress but I get this error:
Warning: urldecode() expects exactly 1 parameter, 2 given in /homepages/7/d767601892/htdocs/promarketing/wp-content/themes/aravt/framework/classes/class.wp.customize.php on line 485
I went to see the code at that line but everything looks fine unless I'm missing something:
public function wp_customizer_import_handler($data){
if( !empty($data) ){
if( urldecode($data, true) ){
$options = unserialize( urldecode($data) );
if( !empty($options) ){
foreach ($options as $key => $value) {
set_theme_mod( $key, $value );
}
TTLess::build_css();
return true;
}
}
}
return false;
}