Title: Error 500
Last modified: March 8, 2020

---

# Error 500

 *  Resolved [lucindalaverick](https://wordpress.org/support/users/lucindalaverick/)
 * (@lucindalaverick)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/)
 * On the edit homepage page in the asset cleanup section, this error message appears:
 * > “The checked URL returned an error when fetching the assets via AJAX call. 
   > This could be because of a firewall that is blocking the AJAX call, a redirect
   > loop or an error in the script that is retrieving the output which could be
   > due to an incompatibility between the plugin and the WordPress setup you are
   > using.
   >  Here is the response from the call: Status Code Error: 500 * for more
   > information about client and server errors, check this link Suggestion: Select“
   > WP Remote Post” as a method of retrieving the assets from the “Settings” page.
   > If that doesn’t fix the issue, just use “Manage in Front-end” option which 
   > should always work and submit a ticket about your problem.”
 * I tried doing what the message suggested, I firstly changed the settings to “
   WP Remote Post” and the following message appeared:
 * > “It looks like “WP Remote Post” method for retrieving assets via the Dashboard
   > is not working in this environment.
   > Since the server (from its IP) is making the call, it will not “behave” in 
   > the same way as the “Direct” method, which could bypass for instance any authentication
   > request (you might use a staging website that is protected by login credentials).
   > Consider using “Direct” method. If that doesn’t work either, use the “Manage
   > in the Front-end” option (which should always work in any instance) and submit
   > a ticket regarding the problem you’re having. “
 * I then changed the settings to manage in the front end and the following error
   message appeared:
 * > Note: The checked URL returned an error when fetching the assets via AJAX call.
   > This could be because of a firewall that is blocking the AJAX call, a redirect
   > loop or an error in the script that is retrieving the output which could be
   > due to an incompatibility between the plugin and the WordPress setup you are
   > using.
   > Here is the response from the call:
   > Status Code Error: 500 * for more information about client and server errors,
   > check this link
   >  Suggestion: Select “WP Remote Post” as a method of retrieving
   > the assets from the “Settings” page. If that doesn’t fix the issue, just use“
   > Manage in Front-end” option which should always work and submit a ticket about
   > your problem.”
 * What on earth do I do to fix this? It appeared around the time that I had to 
   de-activate elementor, (I had some of the elementor scripts unloaded at the time
   of deactivation) and then I re-activated elementor.
    I have reset all of the 
   asset-cleanup settings in the tools section but nothing seems to help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-500-158%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/error-500-158/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-500-158/page/2/?output_format=md)

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12521545)
 * [@lucindalaverick](https://wordpress.org/support/users/lucindalaverick/) thanks
   for reporting a potential bug and I’m sorry about this unpleasant experience!
   You have to check your server’s PHP errors log file. Check if you can get its
   path from “Tools” -> “Debugging”. Note that you didn’t have to reset all the 
   plugin’s settings as this wouldn’t fix the 500 error you’re getting (I hope you
   had a backup via “Tools” -> “Export”).
 * You said:
 * > I then changed the settings to manage in the front end and the following error
   > message appeared:
 * Have you actually open a page in the front-end view (e.g. your homepage) and 
   checked the bottom of the page to see if the CSS/JS management list is listed
   for you. It should be and it would take effect only for you (not your visitors).
 * If you can find out the latest PHP error logs from the error_log file, that would
   be great. You can strip any information you consider sensitive from the report(
   e.g. the full path to the PHP file).
 *  [steltat](https://wordpress.org/support/users/steltat/)
 * (@steltat)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12521565)
 * Same problem Here. When I update you plugin this happens.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12521574)
 * [@steltat](https://wordpress.org/support/users/steltat/) please check the errors
   you got in error_log. Can you see anything in “Tools” -> “Debugging”? An easier
   way would be to setup a plugin like “Error Log Monitor” which will report any
   errors you got. In my tests, I haven’t got any 500 errors. Are you also using
   Elementor?
 *  Thread Starter [lucindalaverick](https://wordpress.org/support/users/lucindalaverick/)
 * (@lucindalaverick)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12521596)
 * Thank you so much for such a speedy reply!
    Yes the CSS/JS management list is
   showing up on my homepage, I was just looking on the “edit page” sections before.
 * The last line (that mentions Ajax) of the php error log is:
    [03-Mar-2020 21:
   49:28 UTC] PHP Fatal error: Out of memory (allocated 105381888) (tried to allocate
   32768 bytes) …. includes/ajax-actions.php
 * Is this helpful?
 * Thank you,
 * Lucinda
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12521601)
 * [@lucindalaverick](https://wordpress.org/support/users/lucindalaverick/) Hmm,
   I have a suspicion there’s not enough PHP memory to process the list because 
   this latest version also pulls the hardcoded list so you can view it (although
   managing any of the non-enqueued assets is a feature available in the Pro version).
   Can you increase your memory? You might need to edit php.ini (or do it via a 
   Control Panel from your hosting package).
 * Are there any other errors referencing to any Asset CleanUp file?
 *  [davidpolanco](https://wordpress.org/support/users/davidpolanco/)
 * (@davidpolanco)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12521831)
 * Hi Team,
 * I wanted to add that I bumped up memory from default 512M to 1024M and there 
   was no resolve.
 *     ```
       Server architecture	Linux 4.15.0-1040-gcp x86_64
       Web server	Apache
       PHP version	7.3.15-3+ubuntu18.04.1+deb.sury.org+1 (Supports 64bit values)
       PHP SAPI	apache2handler
       PHP max input variables	10000
       PHP time limit	3600
       PHP memory limit	1024M
       Max input time	3600
       Upload max filesize	50M
       PHP post max size	100M
       cURL version	7.58.0 OpenSSL/1.1.1d
       Is SUHOSIN installed?	No
       Is the Imagick library available?	Yes
       .htaccess rules	Custom rules have been added to your .htaccess file.
       ```
   
 * Restoring the site prior to the update resolved the issue.
 * The error at hand:
 * `PHP Fatal error: Uncaught Error: Class 'MatthiasMullie\\Minify\\JS' not found
   in /nas/content/live/dpolancostag/wp-content/plugins/wp-asset-clean-up/classes/
   OptimiseAssets/MinifyJs.php:22\nStack trace:\n#0 /nas/content/live/dpolancostag/
   wp-content/plugins/wp-asset-clean-up/classes/HardcodedAssets.php(279): WpAssetCleanUp\\
   OptimiseAssets\\MinifyJs::applyMinification('/* <![CDATA[ */...')\n#1 /nas/content/
   live/dpolancostag/wp-content/plugins/wp-asset-clean-up/classes/HardcodedAssets.
   php(48): WpAssetCleanUp\\HardcodedAssets::getAll('\\r\\n<!DOCTYPE htm...')\n#
   2 /nas/content/live/dpolancostag/wp-includes/class-wp-hook.php(288): WpAssetCleanUp\\
   HardcodedAssets::WpAssetCleanUp\\{closure}('')\n#3 /nas/content/live/dpolancostag/
   wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)\n#4 /nas/
   content/live/dpolancostag/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\
   n#5 /nas/content/live/dpolancostag/wp-includes/load.php(947): do_action('shutdown')\
   n#6 [internal function]: shutdown_action_hook()\n#7 {main}\n thrown in /nas/content/
   live/dpolancostag/wp-content/plugins/wp-asset-clean-up/classes/OptimiseAssets/
   MinifyJs.php on line 22, referer: https://dpolancostag.wpengine.com/`
 * Looks like a missing class `MatthiasMullie`. Hope this helps!
 * Thanks [@gabelivan](https://wordpress.org/support/users/gabelivan/)
 *  anonymized-17115093
 * (@anonymized-17115093)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12521961)
 * The same! Bug after update! We use Elementor (maybe helpful).
 * **Status Code Error: 500 \* for more information about client and server errors**
 * The plugin stopped working after update!
    -  This reply was modified 6 years, 2 months ago by anonymized-17115093.
    -  This reply was modified 6 years, 2 months ago by anonymized-17115093.
    -  This reply was modified 6 years, 2 months ago by anonymized-17115093.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522003)
 * @7dotmarketing [@davidpolanco](https://wordpress.org/support/users/davidpolanco/)
   [@lucindalaverick](https://wordpress.org/support/users/lucindalaverick/) [@steltat](https://wordpress.org/support/users/steltat/)
   Can you please delete the version you’re using (all settings will be preserved,
   no worries) and re-download it? I’ve released a patch (updated the same tag).
   Very soon, a new tag will be released.
 * The plugin stopped working indeed for fetching assets, but it should have worked
   for your guests without any incidents.
 * As an apology, I’d like to offer you guys a coupon code to get a free license
   of the Pro version (if you’re interested). If you already own it, I can extend
   the current license for you.
 *  anonymized-17115093
 * (@anonymized-17115093)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522009)
 * OK. We are interested in coupon code: [admin@7.marketing](https://wordpress.org/support/topic/error-500-158/admin@7.marketing?output_format=md).
   Thanks! We have lost 3 hours!
 *  [davidpolanco](https://wordpress.org/support/users/davidpolanco/)
 * (@davidpolanco)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522042)
 * Thanks for that Gabe,
 * I would certainly like to try the other features! I have pinged you in the wordpress.
   slack.com group my email.
 *  [emcreeves](https://wordpress.org/support/users/emcreeves/)
 * (@emcreeves)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522073)
 * Same issue on my website – Elementor is still active so I am guessing it is the
   same issue. I have been offline for a while but I cannot find the WP remote option
   to try this step first? Sorry if this is really silly, I am currently feeling
   a bit rusty !
 *  [emcreeves](https://wordpress.org/support/users/emcreeves/)
 * (@emcreeves)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522076)
 * Okay update – the same errors are coming up for the suggested solutions of WP
   remote and manage front end- what is the next step to resolve this for me?
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522090)
 * [@emcreeves](https://wordpress.org/support/users/emcreeves/) can you delete the
   plugin (all settings will be preserved) and re-install it from [https://downloads.wordpress.org/plugin/wp-asset-clean-up.1.3.5.8.zip?nocache](https://downloads.wordpress.org/plugin/wp-asset-clean-up.1.3.5.8.zip?nocache)–
   a patch was applied that should avoid all these errors. Please try this and let
   me know how it goes!
 *  [Jimmy Lee](https://wordpress.org/support/users/shirtguy72/)
 * (@shirtguy72)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522448)
 * Same Stacktrace error here, deleted plugin and installed patch, seems to be working
 *  [Jimmy Lee](https://wordpress.org/support/users/shirtguy72/)
 * (@shirtguy72)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-500-158/#post-12522457)
 * As one of your BIGGEST fans, I would love a coupon code as well, respectfully.
   As always, thanks for being right on top of things!

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/error-500-158/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-500-158/page/2/?output_format=md)

The topic ‘Error 500’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [error 500](https://wordpress.org/support/topic-tag/error-500/)

 * 20 replies
 * 8 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-500-158/page/2/#post-12610919)
 * Status: resolved