zenphoto / zenphoto

The Zenphoto open-source gallery and CMS project
https://www.zenphoto.org
Other
304 stars 128 forks source link

Error in Effervescence+ results in blank page #573

Closed fretzl closed 10 years ago

fretzl commented 10 years ago

When I activate the Effervescence+ theme I get an error in the log and a blank theme page.

 {1799:Wed, 06 Nov 2013 19:39:43 GMT} Zenphoto v1.4.5.7[59c22b2fbac4ffc7cf4baea7589473eb35de3adf]
NOTICE: Undefined variable: handler in .../themes/effervescence_plus/functions.php on line 67
require_once called from include (index.php [91])
from index.php [22]
sbillard commented 10 years ago

No other errors?

Can you tell when this occurs? Do you have to view the theme first or is it the result of the activation on the back end. Also, do you know what personality is selected?

fretzl commented 10 years ago

Got it. It happens when the themeSwitcher plugin is enabled.

The selected personality has no influence.

sbillard commented 10 years ago

Still cannot reproduce this, but it has to be a bad value for $personality. Could you var_dump this just before line 67?

fretzl commented 10 years ago

With themewSwitcher enabled var_dump gives null with every selected personality.

sbillard commented 10 years ago

I still cannot reproduce this. But perhaps the changes will fix it.

fretzl commented 10 years ago

The issue is indeed solved.