Ron Hendriks
asked 8 years ago

Focus crashed serveral times. The error log showed
1. unexpected T_ECHO in attachement.php on line 19
2. PHP Fatal error: Call to undefined function get_header() 
Fixed the first error by replacing line 19 by:
 esc_html( get_the_date() )
Fixed the seccond error by replacing:
get_header();
by
<? if (function_exists(‘get_header’))
{
get_header();
}
else{
exit;
}
?>
Something for the next release, or is something else wrong?
 
 
 

1 Answers
BigHug
answered 8 years ago

Which version of Focus are you using? If not the latest version 1.0.8, please update your theme and see if the issue still persists. If you already use the latest version then please provide us your site URL and admin account for further checking.

Ron Hendriks
replied 8 years ago

It seems to be related to a plugin (Adrotate). Removing this plugin removes the error. Thanks anyway!

Powered by DW Question & Answer Pro