Erro functions.php on line 956
-
Baixei um tema, Apartment Real Estate, o site até funciona porém está com esse erro a cima no site
Warning: A non-numeric value encountered in /opt/lampp/htdocs/wordpress/wp-content/themes/download/apartment-wp/functions.php on line 956
indo no arquivo parece estar tudo correto, se muda algo estou num macfunction apartment_wp_enqueue_inline_scripts() { global $apartment_options; $script = ‘ conditionizr.config( { assets: “‘ . get_template_directory_uri() . ‘”, tests: { } } );
var templateDir = “‘ . esc_url( get_template_directory_uri() ) . ‘”;
LINE 956 var emptyPin = “‘ . (( apartment_wp_framework_options( ‘apartment_wp_emptypin’ ) ) ? esc_url( apartment_wp_framework_options( ‘apartment_wp_emptypin’, ‘url’ ) ) : esc_url( get_template_directory_uri() ) + ‘/images/pin-empty.png’ ) . ‘ “;
‘;
____________________________I downloaded a theme, Apartment Real Estate, the site is ok but there is an error at top the site
Warning: A non-numeric value encountered in /opt/lampp/htdocs/wordpress/wp-content/themes/download/apartment-wp/functions.php on line 956
at the file seem everything ok, if this change something i’m working in macfunction apartment_wp_enqueue_inline_scripts() { global $apartment_options; $script = ‘ conditionizr.config( { assets: “‘ . get_template_directory_uri() . ‘”, tests: { } } );
var templateDir = “‘ . esc_url( get_template_directory_uri() ) . ‘”;
LINE 956 var emptyPin = “‘ . (( apartment_wp_framework_options( ‘apartment_wp_emptypin’ ) ) ? esc_url( apartment_wp_framework_options( ‘apartment_wp_emptypin’, ‘url’ ) ) : esc_url( get_template_directory_uri() ) + ‘/images/pin-empty.png’ ) . ‘ “;
‘;
- The topic ‘Erro functions.php on line 956’ is closed to new replies.