Random Fatal Error in datamapper
-
Hello,
WP v4.2.1
nextgen-gallery v2.0.79
host: PantheonI recently switched my site to a WordPress subdirectory installation. I had to update from Nextgen-gallery v2.0.4* to v2.0.79, as the older version used a method of URL discovery that was incompatible with a subdirectory installation.
I now get a
Fatal error: Call to a member function get_entity() on a non-object in /path/to/wp/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/datamapper/package.module.datamapper.php on line 359
seemingly randomly. The error appears on the first or second page load, yet subsequent page loads appear to not have the problem. If I wait a few minutes and try another page load, the error comes back.I have found that the
$new_entityreferenced in the line isNULLwhen this error occurs, hence it not having that member function.I have tried downgrading to earlier versions of WP with no success. I would try downgrading ngg, but I’m not sure which version the subdirectory issue was fixed.
Any idea on what could be causing this error? Thanks!
The topic ‘Random Fatal Error in datamapper’ is closed to new replies.