This topic has 12 replies, 4 voices, and was last updated 4 years, 9 months ago ago by John Holden
When I activate the static blocks, the site presents error 500. I have already increased the memory limit (512M) and optimized PHP and NGINX for performance.
I use the latest version of the Theme and plugins.
I have already deactivated all third party plugins and left only those necessary for the theme enabled.
Folder permissions are at 755 and 644 files.
I’ve already added define (‘WP_MEMORY_LIMIT’, ‘512M’);
define (‘WP_MAX_MEMORY_LIMIT’, ‘512M’);
My server has: Four colors, 8 GB (guaranteed) Memo and 200 GB
100% SSD.
But, the problem remains.
What else can I do to fix the problem?
Hello,
The 500 error means that there is some Fatal error in PHP script or on the server side. You can turn on debug mode in WordPress – https://wordpress.org/support/article/debugging-in-wordpress/ to find out what error appears on your site, it will point you in the right direction what needs to be fixed.
Also, you can contact the hosting provider and ask to give you a server error log to check what is wrong.
Regards
when debug is activated, no error is returned.
Hello,
So, don’t you get 500 error anymore when active static blocks?
Regards
The 500 error only appears when I activate the last 3 static blocks I created. When I put these 3 in the trash, the site returns to normal. What to do? I’m very confused. I’ve even changed the server site. It is now on a VPS with 60 GB memory and ten processor cores.
Regards.
Hello,
Did you get the server error logs? What errors do you have in the log file?
We can find the reason of the issue only if you have any information there.
Regards
The 500 error occurs when I activate the last three static blocks. Please, I want you to check the error and promote the fix.
Hi,
I tried to restore and publish Static Blocks without any issues https://prnt.sc/qwnf1t
Regards,
Hung PD
OK! Show me how the front end looks after you’ve activated the static blocks.
Hello,
Why are you using Menu element in header builder http://prntscr.com/qwycqr where in static block you call the same menu element http://prntscr.com/qwyc40 ? It caused loop and your error. We removed the Categories menu from the menu static block and site works.
Regards
Thank you for your support. About the last 3 blocks, they were not created by me but by the team that works in the client’s office.
Regards
Hi,
Glad to hear your issue has been resolved.
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/xstore-responsive-woocommerce-theme/15780546
Your feedback is the motivation to improve our work and services.
Regards,
Hung PD
You must be logged in to reply to this topic.Log in/Sign up