• Resolved sweetiowa

    (@sweetiowa)


    I am unable to post or create a new page or upload images. I have replaced the theme and deactivated plugins, with no success (except Yoast deactivation). When I attempt to post I get the errors below.

    I am on WordPress 5.6.1. PHP version 7.3.27. I am on Genesis Framework with child theme. Increased WordPress memory limit to 256m.

    Warning: Creating default object from empty value in /home/customer/www/…/public_html/wp-admin/includes/post.php on line 732

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/…/public_html/wp-admin/includes/post.php:732) in /home/customer/www/…/public_html/wp-admin/admin-header.php on line 9

    THIS IS A YOAST PLUGIN CONFLICT BELOW, IT GOES AWAY WHEN I DEACTIVATE YOAST

    Warning: Invalid argument supplied for foreach() in /home/customer/www/…/public_html/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php on line 106

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try after updating PHP version

    Thread Starter sweetiowa

    (@sweetiowa)

    All versions 7.4.15 and lower throw errors I first mentioned – version 8.0.2 throws fatal errors.

    Thread Starter sweetiowa

    (@sweetiowa)

    I attempted to turn on WP DEBUG AND now get all of this:

    WordPress database error: [Duplicate entry ‘500’ for key ‘PRIMARY’]
    INSERT INTO lur_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (1, ‘2021-02-08 14:41:29’, ‘0000-00-00 00:00:00’, ”, ”, ‘Auto Draft’, ”, ‘auto-draft’, ‘post’, ‘open’, ‘open’, ”, ”, ”, ”, ‘2021-02-08 14:41:29’, ‘0000-00-00 00:00:00’, 0, 0, ”, ”)

    Warning: Creating default object from empty value in /home/customer/www/example.com/public_html/wp-admin/includes/post.php on line 732

    Notice: Undefined property: stdClass::$ID in /home/customer/www/example.com/public_html/wp-admin/post-new.php on line 67

    Notice: Undefined property: stdClass::$post_status in /home/customer/www/example.com/public_html/wp-admin/edit-form-blocks.php on line 106

    Notice: Object of class WP_Post could not be converted to int in /home/customer/www/example.com/public_html/wp-includes/functions.php on line 4806

    Notice: Undefined property: stdClass::$post_type in /home/customer/www/example.com/public_html/wp-admin/includes/meta-boxes.php on line 1426

    Notice: Object of class stdClass could not be converted to int in /home/customer/www/example.com/public_html/wp-includes/functions.php on line 4806

    Notice: Trying to get property ‘labels’ of non-object in /home/customer/www/example.com/public_html/wp-admin/includes/meta-boxes.php on line 1502

    Notice: Trying to get property ‘attributes’ of non-object in /home/customer/www/example.com/public_html/wp-admin/includes/meta-boxes.php on line 1502

    Notice: Undefined property: stdClass::$post_type in /home/customer/www/example.com/public_html/wp-admin/edit-form-blocks.php on line 429

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/example.com/public_html/wp-includes/wp-db.php:1519) in /home/customer/www/example.com/public_html/wp-admin/admin-header.php on line 9

    Notice: Trying to get property ‘label’ of non-object in /home/customer/www/example.com/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php on line 907

    Notice: Trying to get property ‘labels’ of non-object in /home/customer/www/example.com/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php on line 908

    Notice: Trying to get property ‘singular_name’ of non-object in /home/customer/www/example.com/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php on line 908

    Warning: Invalid argument supplied for foreach() in /home/customer/www/example.com/public_html/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php on line 1067

    Notice: Undefined property: stdClass::$post_type in /home/customer/www/example.com/public_html/wp-includes/taxonomy.php on line 226

    Thread Starter sweetiowa

    (@sweetiowa)

    I keep finding information regarding a disabled auto increment for wp_posts table for my problems. I know how to get to mysql database, but I don’t have experience working with it. I’m willing to take action if I have good guidance, but otherwise, I will need suggestions to locate someone to assist.

    Thread Starter sweetiowa

    (@sweetiowa)

    I ended up reaching out to a company online that specializes in fixing wordpress issues. It was a problem with my database. They said that wp forms caused the issue, but that it had to be fixed in the database, which was beyond my skill. I was very grateful that I reached out for further help.

    I just want others to know that I did such things as changing out my theme, uninstalling plugins, updating PHP, and re-uploading wordpress.

    Thank you to danielbora123 for leaving a suggestion.

    This was my solution.

    • This reply was modified 4 years, 1 month ago by sweetiowa.

    Sweetiowa

    you said: I just want others to know that I did such things as changing out my theme, uninstalling plugins, updating PHP, and re-uploading wordpress.
    Did any of that work?

    Which online company helped you and was it very expensive?
    I only have a small budget but experiencing the same

    Ram

    A list of my problems. Have disabled all plugins – no joy.

    If I try and edit one of my pages with Elementor
    ERROR >>>Sorry the content area was not found for your page. You must call “the_content’ function in the current template in order for elementor to work on this page.

    If I try to add a new page…
    ERROR >>> It says “submit for review” rather than publish the page.
    And there is an error message at the top saying “Warning: Creating default object from empty value in /home/customer/www/searchmedicina.com/public_html/wp-admin/includes/post.php on line 732”

    In fact appreciate anyone’s help. I am a novice. Understand basic web stuff, but not coding (although I can edit a file if someone gives me the code).

    Thanks
    Ram x
    (PS Should I just get someone on Fiverr.com to fix – loads of wordpress/elementor fixers there. Just worried they either add malicious code or just add code to hide the error and not fix it. Does this sort of thing happen with Fiverr?)

    • This reply was modified 4 years, 1 month ago by rameshmehay. Reason: add more detail
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Creating default object from empty value in – cannot post’ is closed to new replies.