![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: admin-ajax-php
-
AuthorPosts
-
May 31, 2018 at 3:01 pm #964801
Hi there,
I work on a WordPress multisite installation using Enfold theme and a child theme. I worked on the version 4.2.4 that I has updated to the brand new 4.4 yesterday. I made some testing before, however I was unable to detect the issue I face right now.
When I go to my child theme setting page in the admin area and try to save modifications, I have the message “Saving didnt work! Please reload the page and try again.” popping out.
With the console, I identified the file “admin-ajax.php” as the cause of the issue. The server responds with a 500 error code as you can see in the image below:
The funny thing is that the changes are taken into account even if Enfold told me that saving didn’t work. I inspected this issue a little bit, and as you can see in the screen below, a few seconds later the admin-ajax.php file is automatically loaded.
For information, I have already deleted the Enfold parent theme directory in my server then reinstalled it completely, so the issue doesn’t come from a bad update.
Any clue about this issue? Is it possible that the problem is caused by an old child theme’ function.php file which was working fine on Enfold 4.2.4?Best regards,
Dimitri.-
This topic was modified 6 years, 3 months ago by
dimitrilpc. Reason: Public img containing too much info aha
June 2, 2018 at 5:52 am #965681Hey dimitrilpc,
500 internal server error is a very general error, it’s basically the server saying “something went wrong”, so I think your hosting provider should be able to give you some more answers as to why that is happening.
I tried logging into your site but the details are not working, please check and verify.
Best regards,
RikardJune 2, 2018 at 10:12 am #965746Hi Rikard,
Sorry, should be good for the login. I will try to contact my hosting provider, but this worked fine a few days ago. I don’t understand why it have to change for Enfold 4.4. I have another clue, I have set a lot of rules for my .htaccess file. Is this possible that Enfold 4.4 introduced new rules and creates conflict with my .htaccess file? I was on 4.2.4 before.
Best regards,
D.June 3, 2018 at 6:19 am #966048Hi Dimitri,
Thanks for the feedback. We introduced performance features in 4.4, so it might be related to the rules in your .htaccess file. Could you try to disable everything under Enfold->Performance to see if that helps? If not then you can try to disable all plugins as well, since one of them might be causing a conflict of some sort. Also, do you know what version of PHP you are running on the server? It should be 5.6 or higher.
Best regards,
RikardJune 7, 2018 at 11:44 am #968677Hi,
I tried to disable all plugins, still no change unfortunately. Same goes for the performance settings. I also tried to remove all .htaccess rules except HTTPS and WP rules. I have still no clue about this. Currently, I am trying to refresh the cache of my CDN.
My website is hosted at OVH (Performance 2 server) and runs PHP 7.2.
Could you take a quick look on my install?
Best regards,
Dimitri-
This reply was modified 6 years, 3 months ago by
dimitrilpc.
June 9, 2018 at 5:31 pm #970470Hi Dimitri,
Can you please check server log for error?
Best regards,
VictoriaJune 11, 2018 at 1:45 pm #971174Hi there,
I have fixed the issue. After looking for errors in my server log, I retraced one problematic function in my child theme’s functions.php. I guess the structure drastically changed between 4.2 and 4.4, and my functions.php file had compatibility issues. By removing the problematic function, everything went to normal. Thank you for this clue, Victoria, and thanks Rikard too. You can close this thread.
Best regards,
Dimitri.June 12, 2018 at 6:17 am #971534 -
This topic was modified 6 years, 3 months ago by
-
AuthorPosts
- The topic ‘Saving didnt work – Admin-ajax.php failed to load after Enfold 4.4 update’ is closed to new replies.