• Resolved bvolders

    (@bvolders)


    My pages in the Divi visual builder aren’t saving and trows an error when the cache is enabled in WP-O. When I disable caching or disable the WP-O pluging, everything works fine.
    For the record: de option “serve cached pages…” is disabled.

Viewing 7 replies - 1 through 7 (of 7 total)
  • @bvolders Can you please try to Purge cache from WP-Optimize > Cache and check if it helps to fix the issue?

    Thread Starter bvolders

    (@bvolders)

    Hello, thanks for the response. Purging the cache doesn’t help. It’s only a problem on published pages (not on concepts or posts. No problems saving there).

    Hi @bvolders,

    and trows an error when the cache is enabled in WP-O

    What’s the error message?
    If it’s nothing helpful, is there anything in your site’s PHP error log?

    Marc.

    Thread Starter bvolders

    (@bvolders)

    Here’s the error message: https://www.imagepaste.nl/showimage/56c25394de2dbe5b6dcf03144a328e83.png

    It translates to: “Something went wrong while saving your page. There could be several reasons why it failed, such as lack of server resources, firewall blocks, plugin conflicts, or server misconfiguration. You can try to save by clicking Try again, or you can download a backup of your unsaved page by clicking Download backup. Backups can be restored with the portability system when you edit your page again.
    It may help to contact your host and ask if the following PHP variables can increment: memory_limit, max_execution_time, upload_max_filesize, post_max_size, max_input_time, max_input_vars. In addition, an analysis of your firewall error report (such as ModSecurity) can reveal false positives that are preventing save.
    Finally, it is recommended that you temporarily disable all WordPress plugins and browser extensions and try to save again to see if there is a conflict somewhere.”

    When I disable caching in WP-O, everything works fine. I don’t have to deactivate the plugin, just disable caching while editing the live page.

    Thanks. Indeed they don’t give any relevant information on what actually causes the issue.

    I tried several times on a testing site, and cannot reproduce the error.

    How do you edit the pages in Divi? is it from the front-end, or in the back-end using the “blocks”?

    Do you have access to the PHP error logs? they’re often at your website’s root folder, or are provided on your hosting account.
    If you don’t have access to the error logs from your host, you can enable debugging mode, by adding the following lines to wp-config.php just before where it says: /* That’s all, stop editing! Happy publishing. */

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    define( ‘WP_DEBUG_LOG’, true );

    A debug.log file should be created inside the folder wp-content, with the errors.

    Could you also open your browser’s console before saving, and looking if any javascript errors are added when you save?

    Marc.

    • This reply was modified 4 years, 2 months ago by Marc Lacroix.
    Thread Starter bvolders

    (@bvolders)

    Hello,

    Sorry for the late response.

    1. There’s no error log.
    2. It looks like the changes do get saved, but Divi still gives an errormessage.

    Hi @bvolders

    Thanks. We’ve identified an issue with Divi, which was using a wrong method to purge WP-Optimize’s cache.
    We reached ou to them, and they fixed this in the latest release, a few days ago.
    If you update Divi, it should hopefully be resolved.

    Marc.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Divi and cache’ is closed to new replies.