#1 July 21, 2014 3:02pm

jesse.glaves
Member
Registered: June 28, 2014
Posts: 124

BigTreeCMS::$Secure errors

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

#2 July 21, 2014 6:43pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: BigTreeCMS::$Secure errors

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

#3 July 21, 2014 6:53pm

jesse.glaves
Member
Registered: June 28, 2014
Posts: 124

Re: BigTreeCMS::$Secure errors

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

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.