• Resolved whistlerdan

    (@whistlerdan)


    I’m able to duplicate some posts without error, but others cause a critical failure with the error *530 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition “ET_Core_PageResource” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /www/MYSITE/public/wp-includes/formatting.php:5131

    Interestingly, I see a previous ticket where someone mentioned the same error with ET_Core_PageResource. Still, that ticket seems to have been closed without a solution, or the solution is not publicly visible.

    ET_Core_PageResource seems to have been part of the Divi theme, which I no longer use. I presume the issues I’m having with duplicating posts are only for posts that were originally created when I was using Divi theme.

    Heading into PHP MyAdmin and searching for ET_Core_PageResource, I found a Wp_postdata entry containing that reference on 400+ old posts. Presumably the ones created when Divi was active. I then chose one of those and deleted it. After deleting it, I was able to duplicate the post correctly.

    The meta key for the posts with the issue is _et_core_cached_page_resources

    It’s not clear to me if this was a bug with Divi, or if this is a bug with your plugin that could be solved for other people that used to use Divi theme.

    • This topic was modified 2 years, 7 months ago by whistlerdan.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @whislerdan,

    Thank you for reaching out.

    I’m not directly able to reproduce it – I tried creating a few Divi posts/pages and cloned them after switching to a default theme (insisting on not having Divi active anymore). I was able to clone them just fine. But looking at the named meta key option, it might be related to some sort of old Divi page caching still present in your database. I was only able to spot meta keys like “_et_dynamic_cached_shortcodes” & _et_dynamic_cached_attributes – but all of that was cloned and I was not hitting any PHP errors.

    Thread Starter whistlerdan

    (@whistlerdan)

    Okay, thanks for trying! At some point, they might have changed how they do things. This may only affect people who used very early versions of Divi. Yes, it does seem to have something to do with a built-in caching option. I just went through and deleted all keys beginning with _et_core, and that does solve the issue. Thanks again for taking a look!

    I was happy to help investigate. It’s up to the Divi dev team to do upgrade routines though – cleaning up the database, so if you haven’t yet reached out and you’re willing to, feel free to let them know. I’ll mark the topic here as resolved for now. Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Critical Error from ET_Core_PageResource’ is closed to new replies.