Support ⇒ Dragonfly CMS v10 ⇒ Updated from bitbucket, now getting 500 error ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDragonfly CMS v10

Updated from bitbucket, now getting 500 error Reply to topic


This is in my log:

[02-Apr-2018 08:12:35 Etc/GMT+0] PHP Fatal error: Cannot access property Dragonfly\Session\Handler\Database::$_poodle_events_classes in includes/poodle/events/events.php on line 30

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


This message is only appearing when there is an event waiting to be displayed for the user.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Changing line 30 seems to fix the issue, but I'm not sure what other ramifications are of this change:

- if (!isset(static::$_poodle_events_classes[$class])) { + if (!isset($_poodle_events_classes[$class])) {

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


It should be self::$_poodle_events_classes

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


Thanks, I've changed it to self.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are UTC


Jump to: