Philio / bootstrapdefault

A modern and responsive theme for Piwigo built with standard Bootstrap components and using the default Bootstrap theme. Intended for easy customisation using Bootstrap styles or as a parent theme for creating responsive themes for Piwigo.
https://philio.me
31 stars 10 forks source link

PHP errors when menu items are removed #44

Closed Iva83 closed 7 years ago

Iva83 commented 7 years ago

I have installed the theme on a fresh install of Piwigo and I saw the option to remove some of the menu items. I removed "Related Tags" and "Specials" and the following happened:

**Warning: Attempt to modify property of non-object in /mounted-storage/home44c/sub001/sc27969-FHUU/www/v/themes/bootstrapdefault/include/themecontroller.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home44c/sub001/sc27969-FHUU/www/v/themes/bootstrapdefault/include/themecontroller.php:41) in /mounted-storage/home44c/sub001/sc27969-FHUU/www/v/include/page_header.php on line 101**

Is this on my end or is this a theme error?

Philio commented 7 years ago

Thanks for reporting this, I was able to replicate on my own installs.

Will look to resolve in the next release.