• When Gutenberg Forms is active and I’m editing any page, the body element has the class php-error (<body class="wp-admin wp-core-ui js post-php ... php-error">). The sidebar layout looks slightly different when this is the case. This does not happen when Gutenberg Forms is disabled.
    However, I can’t find any corresponding php error message, so I don’t know what’s causing this. Do you have a fix for this? I can provide the following information:

    – Gutenberg Forms Version: 1.9.0
    – WordPress Version: 5.5 (No error in 5.4)
    – Active Theme: Twenty-Twenty or a simple custom theme
    – Active Plugins: Only Gutenberg Forms. No error for any plugin combination without Gutenberg Forms.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @cebbi

    That’s not a known issue. Thank you to report that, I will look into this soon.

    Regards,
    Munir

    I have also been having the same issue across multiple sites. They did not have this issue before 5.5 and it was only after updating to 5.5 that I have seen this error. Tried switching themes and enabling/disabling plugins with no effect. Does not happen on all page but does on some admin pages. Hopefully a fix is found soon as its very distracting.

    @cebbi – check over your debug settings. I had wp_debug enabled and set to log error to the debug log but had not disabled error display (as it was a test site). Using these settings in my WP config fixed the issue:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );

    Hope that works for you too.

    Hey @cebbi,

    Thanks for reporting this issue. Can you please confirm the PHP version you are using currently. Here is an article that might me helpfull for you to find the current php verions.

    Thread Starter cebbi

    (@cebbi)

    katmacau is correct, it is only happening with debug enabled.
    My php version is 7.2.20.

    Hey @cebbi,

    I am unable to replicate this issue. Are you using the latest version of the Gutenberg Forms Plugin?

    Thread Starter cebbi

    (@cebbi)

    Yes, the error also appears with the current version (2.0.0).

    I’m using xampp if that’s important, and the error appears when editing a page/post.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Possible PHP Error in WP 5.5’ is closed to new replies.