PHP Error Notices when Breadcrumbs are disabled
-
Hi there,
When Breadcrumbs feature is disabled, either through the UI or via
add_action( 'slim_seo_init', function( $plugin ) { $plugin->disable( 'breadcrumbs' ); } );there are PHP Notices fired on most of the pages:
– 2 notices on regular pages and single posts:
Notice: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/slim-seo/src/Breadcrumbs.php on line 68 Notice: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/slim-seo/src/Breadcrumbs.php on line 113– 2 notices on 404 pages (line 88 instead of 113):
Notice: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/slim-seo/src/Breadcrumbs.php on line 68 Notice: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/slim-seo/src/Breadcrumbs.php on line 88– 1 notice on blog archive page:
Notice: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/slim-seo/src/Breadcrumbs.php on line 68No notice on frontpage.
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘PHP Error Notices when Breadcrumbs are disabled’ is closed to new replies.