• michelles00

    (@michelles00)


    Hi, I keep getting this error when trying to add a post/page.

    Warning: Attempt to read property “post_type” on null in

    I do not know any coding, so I do not know what to do. I do not know what caused this either

Viewing 5 replies - 1 through 5 (of 5 total)
  • Benjamin Zekavica

    (@benjamin_zekavica)

    Hallo @michelles00 ,
    please post your debug.log here. Please follow this instruction:

    • Use an FTP client or File Manager in your hosting panel.
    • Open the wp-config.php file.
    • Look for this line: define('WP_DEBUG', false);
    • Change it to: define('WP_DEBUG_LOG', true);
    • Save the file and try again.
    • If an error log appears in wp-content/debug.log, share the details with your web host or a developer.
    Thread Starter michelles00

    (@michelles00)

    Ok thanks

    Thread Starter michelles00

    (@michelles00)

    muslimgap.com/wp-content/debug.log

    threadi

    (@threadi)

    You will see a lot of database errors according to which your database user has no authorization to insert data records. I would recommend that you clarify this with your hoster’s support.

    I would also recommend deactivating the debug log again and deleting the file. It contains potentially sensitive data for your project that no one outside should be able to see.

    Thread Starter michelles00

    (@michelles00)

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.