• Hi, I am having a few problems in my website and I have been looking for solution and I can´t find one.

    I am using Woocommerce (not the lastest version), and all of a sudden the shopping cart just empty automatically, this happen when I am logged in and when i am logged out.

    Also I can´t create new post or new product nor new post, this is the error I get:
    Warning: Creating default object from empty value in /homepages/wp-admin/includes/post.php on line 631

    The website was working perfectly yesterday, and I didnt do any update or adding new plugins.

    After finding the errors I updated wp super cache and then all the available updates for the plugins disappeared. I deleted the plugin from my website, but the updates wouldnt come back.

    I then increase the memory limit up to 96M in the wp-config php, no luck.

    I checked my website in http://www.sucuri.net/, everything seems ok.

    When I connect to my website via FTP I found a strange plugin named with a string of unrelated numbers and letters, and all it contains inside is a ipn.test php. I dont know maybe this could be the problem source?

    Could anyone please help me with this?

    Thank you a lot!!!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter sojasoja

    (@sojasoja)

    I just tried to deativate all the plugins and except the woocommerce and a back up plugin, and that didnt do any trick.

    and the IPN test php I think it was just a plugin I installed to test the Paypal IPN, so it shouldn´t be the problem either.

    Thread Starter sojasoja

    (@sojasoja)

    Also tried this now and it didnt fix the problem neither.

    define(‘WP_ALLOW_REPAIR’, true);

    Thread Starter sojasoja

    (@sojasoja)

    I just changed my admin password and I am logged out, I cannot access my website neither with the new password nor the old password, and I am sure that they are correct. I tried to generate new password and can´t access neither.

    I noticed that when the password is correct, the address appeared in browser is:

    http://www.mywebsite.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.mywebsite.com%2Fwp-admin%2F&reauth=1

    As compared to when I type in a wrong password, I stay in the same page (www.mywebsite.com/wp-admin) and there is a error menssage telling me that the password is not correct.

    What should I do?

    Did you tried to reset your passowrd? (https://codex.wordpress.org/Resetting_Your_Password)

    And what stands and: /homepages/wp-admin/includes/post.php line 631?

    At last, update all your plugins. (woocommerce and wordpress itself, too) Is there a reason why you don’t have the latest version? Often problems can appear because a old plugin don’t understand the new changes of WordPress and vica versa.

    If there was really strange characters in filenames, check if your files are really utf8 and change your (s)ftp-passwords.

    Thread Starter sojasoja

    (@sojasoja)

    Hi Sascha, thank you so much for replying!

    I have tried resetting the password, and it seems that the system recognized the new password (I know that because it responded differently with the new password and wrong password), but it just wont let me login.

    The line in /homepages/wp-admin/includes/post.php line 631 is:

    $post->post_content = apply_filters( ‘default_content’, $post_content, $post );

    Sorry that I am not familiar with coding so I dont really know what that command stands for…

    I will try the way to update the woocommerce via FTP, the wordpress is the latest version. I didnt upload it cause everytime I update a new version it gives me a lot of errors, and I do not know programming so I often have a lot of problem in solving them…

    Thank you very much!

    Hi Sojasoja, I am also having the same issue. For some reason i am seeing these errors and then whenever I post or edit a page or media file it reverts to some random file after saving. I am going through the process of updating my database and user passwords now. I will share with you and keep you in the loop if I come across any solutions. (I was going out of my mind searching for a solution and until today it seemed that no one else was experiencing these issues currently besides you! The only other forums i found where from 4 years ago) It gives me some assurance that it is not only my theme or database going through the same issues.

    I also have another woocommerce error as well.. Not sure if you came across one

    Listify_WooCommerce_Template::review_comment_text() in /home/example-root/public_html/wp-content/themes/listify/inc/integrations/woocommerce/class-woocommerce-template.php

    From this position I can’t help. I would like to see into it, but for this (access to files via FTP or Teamviewer) we’ve to share contact informations. But a personal message system is missing in the wordpress.org forums and I don’t like to share my mail-adress in public. (But if you want contact me via Skype, but write the following nickname on Skype backwards without the numbers: 9ke3v7on2n) )

    I’m available between 6-10pm in GMT+1/MET. If we found a solution we can share it then here.

    Thread Starter sojasoja

    (@sojasoja)

    Hi Sascha, thank you very much for your kind help, it´s so nice of you, buy I got a good news because finally I found the solution!

    All of the errors were because of the data base in host was reaching its limit. I was in the “save mode” were only 10 mb of data base was allowed, and now I switch to another mode and I have 1 GB. Its such a relief to see my website back!

    Aquabot, hope my information would help you solve your issue too. Let me know how it goes.

    Thanks again!!!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘help please! "empty value" error, Woocommerce carta empty automatically and more’ is closed to new replies.