You are not logged in.
Pages: 1
I just happened to turn on error reporting on one of my PHP templates:
error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
ini_set('display_errors',1);
Now I'm seeing the following errors on the page:
Notice: Undefined property: BigTreeCMS::$Secure in /var/www/html/core/router.php on line 400
Notice: Undefined property: BigTreeCMS::$Secure in /var/www/html/core/router.php on line 410
Notice: Undefined property: BigTreeCMS::$Secure in /var/www/html/core/router.php on line 430
Notice: Undefined index: bigtree_preview_return in /var/www/html/core/router.php on line 434
I'm assuming I would see these errors throughout the entire site if I enabled error reporting in my other templates as well.
Any idea what could be happening? FYI, I am not currently doing anything with https.
Offline
Thanks for catching those. Our goal is definitely to not have any notices thrown in the front end of the site when E_ALL is setup. By default, setting the site's debug mode on just shows errors/warnings, so we don't always catch all the notices unless they're turned on manually.
I've pushed a fix for these notices to GitHub:
https://github.com/bigtreecms/BigTree-C … d160eab67b
Offline
Sounds good. They're not hurting anything in my site as far as I can tell, so I just disabled error reporting for now. Everything still seems to work correctly.
Offline
Pages: 1