-
AuthorPosts
-
January 25, 2022 at 7:55 pm #1337155
Hi, so im running enfold and have run into a couple of issues on my website.
First when I try to save a page with the “social buttons” element the page will not save.
Second the search is a little messed up. When i use the search it will drop down the ajax search but when i view all results it throws an error.Can you help me take a look at these issues on my website?
I keep getting these errors within my logs
[25-Jan-2022 18:02:59 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /home/devcganet/public_html/wp-includes/formatting.php on line 486
Here are my PHP settings
display_errors = Off
max_execution_time = 90
max_input_time = 90
max_input_vars = 4000
memory_limit = 512M
post_max_size = 256M
session.gc_maxlifetime = 1440
session.save_path = “/var/cpanel/php/sessions/ea-php74”
upload_max_filesize = 60M
zlib.output_compression = OffThanks
-Dan- This topic was modified 2 years, 10 months ago by acscreativenew.
January 26, 2022 at 5:15 am #1337205Hey acscreativenew,
Thank you for the inquiry.
Have you tried deactivating the plugins temporarily? Please set the installation to debug mode and enable the logs so that we can check for errors.
// https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging
We tried to access the site but the login account above does not exists (see private field). Please provide a valid account.
Best regards,
IsmaelJanuary 27, 2022 at 12:48 am #1337379Hi,
Sorry, login should be good now.
I have turned off all the plugins and im still getting the same error. Also, debugging is turned on now.
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /home/devcganet/public_html/wp-includes/formatting.php on line 486
- This reply was modified 2 years, 10 months ago by acscreativenew.
January 27, 2022 at 10:22 am #1337458Hi,
Thanks for the update.
That page has the social share element on it. If i remove that
It is definitely an issue with the social share element. Did you use a social plugin for that, or are you using the default social share element in the builder? Please try to update the theme to version 4.8.9.
Best regards,
IsmaelJanuary 27, 2022 at 4:23 pm #1337554So everything on my theme is already updated theme and plugins.
It is using the built in social share that is causing the issues.
January 28, 2022 at 11:09 am #1337664Hi,
Thank you for the update.
The error also occurred when we try to update the page. Did you override the social share element in the child theme? Please post the FTP login details in the private field so that we can access the theme files.
Best regards,
IsmaelJanuary 28, 2022 at 4:10 pm #1337760I did not modify the social share within the child theme.
January 31, 2022 at 12:05 am #1337954Hi,
Thank you for the login, the error /public_html/wp-includes/formatting.php on line 533 points to a core WordPress file and line 533 is this:// Remove more than two contiguous line breaks. $pee = preg_replace( "/\n\n+/", "\n\n", $pee );
which doesn’t make sense why the error would point to line breaks.
I noticed that my demo site is using the same PHP version & Server architecture, and the only difference was your PHP max input variables is half of mine and your PHP time limit is much less, try adjusting these to see it it helps.
Best regards,
MikeFebruary 17, 2022 at 5:02 am #1341037I have updated these settings and am still getting the same results.
Any page that has the social share element on it will not load and as soon as I remove that element it loads again.
February 18, 2022 at 1:04 am #1341246I found the issue here. It was a custom script I added to the functions file that was causing the issue here.
February 18, 2022 at 5:15 am #1341262 -
AuthorPosts
- You must be logged in to reply to this topic.