website performance
This topic contains 6 replies, has 3 voices, and was last updated by Vlad Chirila 4 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Autoptimize
-
AuthorPosts
-
April 27, 2020 at 11:46 am #542797
Hi guys, Vlad here from theBeautyAdviser.com
Hope everyone in your team is ok during these times.
After upgrading my website server from shared hosting to a dedicated business server (with 1 CPU and 2GB RAM) and not seing any kind of improvements in my website speed & performance, I installed Autoptimze as you suggested to eliminate render-blocking resources.
After activating and introducing the settings you suggested I encountered the following:
#1. Most of the listings I tried to click and open no longer work. I get an error message: thebeautyadviser.com is currently unable to handle this request. HTTP ERROR 500
#2. Google page speed insights not working; it returns the following message: Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 500)
#3. Also I cannot access my website customization menu in WordPress Dashboard/Aspect/Customize
There might be some more issues but now I could only find these ones.
Do you have any ideea about why this might be happening?
April 27, 2020 at 1:11 pm #542817Hi Vlad Chirila,
Thanks for your post.
1. This is a server related error and you’ll need to check your errors log to see what went wrong.
2. Could be related to #1, let fix #1 first.
3. Could you please go through this conflict test and see if it helps? https://wpgeodirectory.com/docs-v2/faq/troubleshooting/#conflict-test .
let us know how it goes.
April 27, 2020 at 1:53 pm #542828Hi Kor,
I just checked the errors in cPanel; there are lots of them only for today after activating Autoptimize.
All of them start with:
Backend fatal error: PHP Fatal error: Allowed memory size of 134217728 bytes exhaustedand they all continue with different links like:
– wp-content/plugins/autoptimize/classes/
– wp-includes/functions.php
– wp-content/plugins/invoicing/
– wp-includes/class-wp-user.phpThese are just examples, but there are so many of them, and also for each of the ones above
Would it be helpful if you checked?
April 27, 2020 at 3:11 pm #542843Hi Vlad Chirila,
Thanks for your reply. This error “PHP Fatal error: Allowed memory size of 134217728 bytes exhausted” is referring to your server PHP memory limit. Contact your hosting provider and ask them to increase it as much as possible and it should fix the issue you there. Could you try that first and let me know how it goes?
April 27, 2020 at 3:20 pm #542844Update:
I increased the PHP memory limit from 128 to 256 and now all the issues seem to be gone. I can see that I can increase it up to 512 (out of 2Gb). But I don’t know how this will impact everything, so I set it to 256.
It seems everything is ok now.
When I activated Autoptimize and followed your instructions regarding the settings that you recommend, I noticed that on #5 and #13 I had to remove the default settings as follows:
Exclude scripts from Automptimize: wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js
and
Exclude CSS from Autoptimize: wp-content/cache/, wp-content/uploads/.
Can you please tell me if it is ok to remove them, or should I put them back along with your suggestions?
Thank you!
April 27, 2020 at 3:44 pm #542850It is OK to load normally any scripts you find necessary for the expected behavior of your site.
April 27, 2020 at 3:46 pm #542854great!
Thank you!
All the best! -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket