• getting error Warning: Creating default object from empty value in /home/customer/www/cloudsmpharmaz.in/public_html/wp-admin/includes/post.php on line 732
    also install the plugin health check and disable the plugin and change the theme but nothing work.
    please help me!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Ruan

    (@ruankuypers)

    Hi, @shakshiagrahari have you installed any plugins before this error occurred?

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    No!

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    My website was complete and when i was posting new blog then it show me this error.and this error came after product listing…
    Please help me!

    Ruan

    (@ruankuypers)

    Kindly create a new page (so you get the error) and view the WordPress logs for any errors.

    View your logs: https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    After adding both code and saving them when i open the newpage i get a lots of error…

    [ Please do not bump. ]

    Ruan

    (@ruankuypers)

    Please send me your latest log file after receiving these errors.

    Regards.

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    Notice: register_rest_route was called incorrectly. The REST API route definition for siteground-wizard/v1/update-visibility is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home/customer/www/cloudsmpharmaz.in/public_html/wp-includes/functions.php on line 5311

    Notice: register_rest_route was called incorrectly. The REST API route definition for siteground-wizard/v1/prepare is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home/customer/www/cloudsmpharmaz.in/public_html/wp-includes/functions.php on line 5311

    Notice: register_rest_route was called incorrectly. The REST API route definition for siteground-wizard/v1/install is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home/customer/www/cloudsmpharmaz.in/public_html/wp-includes/functions.php on line 5311

    Notice: register_rest_route was called incorrectly. The REST API route definition for siteground-wizard/v1/complete is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home/customer/www/cloudsmpharmaz.in/public_html/wp-includes/functions.php on line 5311

    Notice: register_rest_route was called incorrectly. The REST API route definition for siteground-wizard/v1/import-sample-data is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home/customer/www/cloudsmpharmaz.in/public_html/wp-includes/functions.php on line 5311

    Notice: Trying to get property ‘post_type’ of non-object in /home/customer/www/cloudsmpharmaz.in/public_html/wp-admin/includes/post.php on line 693

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

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

    Notice: Undefined property: stdClass::$post_status in /home/customer/www/cloudsmpharmaz.in/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/cloudsmpharmaz.in/public_html/wp-includes/functions.php on line 4806

    Notice: Undefined property: stdClass::$post_type in /home/customer/www/cloudsmpharmaz.in/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php on line 612

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

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

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

    Notice: Undefined property: stdClass::$post_status in /home/customer/www/cloudsmpharmaz.in/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php on line 172

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

    Ruan

    (@ruankuypers)

    @shakshiagrahari Thank you for your error log – Try disabling the SG Optimizer plugin and see if that helps to solve your problem.

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    And did i need to remove that code??

    Ruan

    (@ruankuypers)

    Would be best practice to remove the code that’s no longer being used. Your problem is definitely a theme or plugin conflict.

    Disable all your plugins and re-activate them one by one to see if this solves your problem.

    Let me know of your results ??

    ALSO! What version of PHP are you using?

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    PHP version 7.3.26 (Supports 64bit values)

    Ruan

    (@ruankuypers)

    Do me a favour and try PHP 7.4, have you tried disabling all your plugins and re-enabling them one by one?

    Something that would really help me is if you create a loom account and record your screen to show me exactly what’s going on.

    regards

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    Do you use skype??

    Ruan

    (@ruankuypers)

    Please send me a Loom video so I can better understand your problem.

    Loom website
    https://www.loom.com

    Regards.

    Thread Starter shakshiagrahari

    (@shakshiagrahari)

    I have created the account what next

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘not able to create new page’ is closed to new replies.