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?
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.
It seems to be related to a plugin (Adrotate). Removing this plugin removes the error. Thanks anyway!
Please login or Register to submit your answer