Weirdness with the wordpress version
-
Hi, something strange happened to me on my wordpress site. When I try to manually update a plugin, the required version of WordPress is reported to me written in red, as if to say that the correct minimum required version is not installed on my site, which is not true because I have WordPress correctly updated to the latest version (as you can see in the attached photo, the requested version is 6.5 and at the bottom right it says that the version in use on the site is 6.7). Among other things, the site does not notify me of updates for any plugin, as if WordPress had remained stuck at version 6.4 and consequently does not allow me to make updates automatically from the site. Can you help me?
-
Hi @cesss94 ,
I’m sorry to hear you’re experiencing issues with your WordPress site, particularly with plugin updates and version discrepancies.
From what you described, you’re encountering a situation where, despite your site running WordPress version 6.7, plugin updates indicate a required version of 6.5 in red, suggesting your site isn’t meeting this requirement. Additionally, your site isn’t notifying you of any plugin updates, as if it’s stuck at version 6.4.It’s possible that core WordPress files might be corrupted, not properly updated, or server-side caching is showing outdated data. To rule this out, you’ll need to clear your browser cache first and ask your host to clear the cache from the server side.
If that doesn’t resolve the issue, you can reinstall WordPress core files:
- In your WordPress dashboard, go to Dashboard > Updates.
- Click on the Re-install Now button.
- This will replace core files without affecting your content.
Regarding the notification about the plugin update, please check if this line exists in your wp-config.php file. If it’s exist please remove it:
define('AUTOMATIC_UPDATER_DISABLED', true);If this doesn’t resolve the issue, it would also help us to review your current System Status Report to gain more insight into your setup. You can find this report in your WooCommerce dashboard by going to WooCommerce > Status. From there:
- Select Get system report and then Copy for support.
If there are any fatal error logs, please share those as well. These can be accessed under WooCommerce > Status > Logs.
Once you’ve gathered this information, please paste it into a Code block in your reply or use pastebin.com to share the link with us.
Please give these steps a try and let us know how that goes.
-
This reply was modified 1 year, 6 months ago by
Jonayed (woo-hc).
I have already tried several times to reinstall the wordpress version, as well as clearing the site cache from the server, but the problem has not been resolved. And that string is missing from my wp-config.php file. I’ll post the error log and system report pastebins
https://pastebin.com/uDvkdPXPHi there!
Thank you for sharing the SSR and Error report. I can see you are getting the following error message: “CRITICAL Allowed memory size of 268435456 bytes exhausted”.This error indicates your memory limit being exhausted. To resolve this issue you would need to increase your WordPress memory limit.
Below are some methods to try if you would like to do this on your own, alternatively you could reach out to your host provider to do this for you:
Edit your wp-config.php file
Add this to the top, before the line that says, “Happy Blogging”:define(‘WP_MEMORY_LIMIT’, ‘1024’);Edit your PHP.ini file
If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 64M try 256M:memory_limit = 256M ;Maximum amount of memory a script may consume (64MB)Edit your .htaccess file
If you don’t have access to PHP.ini try adding this to an .htaccess file:php_value memory_limit 256MPlease see this documentation for more information.
Let me know that goes.I checked on my host and there are no memory limits exceeded. Is there something else that could have caused this error?
Hi @cesss94 ,
Thank you for sharing additional details!
From the SSR report, I can see that your site has a memory limit of 256MB, which is generally sufficient. However, I recommend increasing it to 512MB by adding the following code to your
wp-config.phpfile:define( 'WP_MEMORY_LIMIT', '512M' );Regarding the version mismatch issue, I don’t believe the memory limit is the root cause. This type of issue typically occurs when core files have been modified or there’s a file permissions problem. However, your SSR report confirms you’re running WordPress version 6.7 and WooCommerce version 8.9.3, so the versions appear aligned.
To clarify, does the issue only occur when you manually upload WooCommerce files or when updating the plugin from the WordPress dashboard?
Additionally, WooCommerce’s built-in database repair tool might help if the issue stems from a corrupted database or a mismatch between the database and WordPress core. To use it, follow these steps:
- Navigate to WooCommerce > Status > Tools.
- Look for the following options:
- Verify base tables
- Update database
- Repair database
- Click on the corresponding button to repair or verify the WooCommerce database.
Before proceeding with any updates, it’s always a good idea to:
- Backup your site: Use your hosting provider’s backup tool or a plugin like UpdraftPlus to ensure you can restore your site if needed.
- Test in a staging environment: If possible, create a staging site using a plugin like WP Staging. This allows you to test updates without affecting your live site.
After completing these steps, check if the issue persists.
Let me know how it goes!
I have not tried to manually update other plugins, but as I was saying wordpress does not notify me of the presence of any updates (even plugins that I know have a more recent version than the one installed on the site, comparing it with the version installed on other sites), so I the same problem would certainly also occur with other plugins.
Hello cesss94,
Thank you for your reply.
Could you share the latest error log?
I want to check if there are still any more “memory exhausted” errors.The best way to troubleshoot further would be be perform a conflict test.
I suggest you perform this test on a staging site.Let me know about your findings.
I will be happy to assist you further.Best regards.
This is my latest log error:
https://pastebin.com/GfK2t5mpHello cesss94,
Thank you for your reply
I can still see “memory exhausted” errors in the error log.
Could you confirm what is the current PHP Memory Limit on your server?Additionally, I suggest performing the conflict test.
This could clarify what is causing this memory error.Please let me know about your findings.
Looking forward to your response. 🙂Best regards.
I found the problem, it was the Fattura24 Woocommerce plugin that was creating the conflict. Thanks so much for your help 😀
Glad to hear it – @cesss94!
I’ll now mark this thread as resolved. If you have any further questions, I recommend creating a new thread.
The topic ‘Weirdness with the wordpress version’ is closed to new replies.