PHP Errors
-
Your code has a few errors.
On line 73 of seo-breadcrumbs/functions.php you reference a variable that isn’t globalized until line 102. Moving this statement to line 59 fixes the issue.
// Get the wp, query, post information global $wp,$post,$wp_query;
You also reference a variable to do a calculation of the time it took to render the page at the bottom on line 322 that is never set.
echo "\n"."<!-- This breadcrumbs generated by [ SEO Breadcrumbs ] plugin, with in ".round($end_time-$start_time, 3). " milliseconds. -->"."\n";
The variable $end_time is never set so your calculation will never work. This is throwing errors in my test environment.
- The topic ‘PHP Errors’ is closed to new replies.