Fatal error: /templates/template-tags.php on line 172
-
Hello! i’ve this message when i upload my wordpress to my hosting
Fatal error: Can’t use function return value in write context in /home/latoscan/public_html/wp-content/themes/lithestore/framework/templates/template-tags.php on line 172
I’ve been researching and i guess the problem is in the !empty value but i dont really know what should i write insted
function lithestore_custom_logo(){
if (!empty (get_theme_mod( ‘logo_upload’)) && get_theme_mod( ‘logo_upload’)<>” ) {
$lithestore_logo='<img src=”‘.esc_url(get_theme_mod( ‘logo_upload’)).'” alt=”‘.get_bloginfo(‘name’).'” />’;
} else {
$lithestore_logo=get_bloginfo(‘name’);
}Thank you so much!
- The topic ‘Fatal error: /templates/template-tags.php on line 172’ is closed to new replies.