Title: Multiple Errors, Need Help
Last modified: May 8, 2022

---

# Multiple Errors, Need Help

 *  Resolved [oriver](https://wordpress.org/support/users/oriver/)
 * (@oriver)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/)
 * Hi,
 * Please could someone help, I’m getting the following errors in the last week:
 * – cURL 28, 52, & 55
    – Occasional tearing of images – Several plugins not working
   including image optimising, and backup restore. – Server error messages: “An 
   unexpected response was received from the server. More information has been logged
   in the browser console.” When going into the console I’m seeing: `Log] smush_manager_send_command
   JSON parse error (wposmush-3-2-3.min.js, line 1) [Log] WPO: could not parse the
   JSON (wposmush-3-2-3.min.js, line 1) [Log] (wposmush-3-2-3.min.js, line 1) <!
   DOCTYPE html> ……
 * AND
 * Failed to load resource: cannot parse response: [https://____/wp-admin/admin-ajax.php?_fs_blog_admin=true](https://____/wp-admin/admin-ajax.php?_fs_blog_admin=true)
 * – Also errors showing in cPANEL:
    Cannot serve directory /home4/…/public_html/
   wp-admin/css/: No matching DirectoryIndex (index.html.var,index.htm,index.html,
   index.shtml,index.xhtml,index.wml,index.perl,index.pl,index.plx,index.ppl,index.
   cgi,index.jsp,index.js,index.jp,index.php4,index.php3,index.php,index.phtml,default.
   htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html) found,
   and server-generated directory index forbidden by Options directive, referer:
   binance.com
 * Backend fatal error: PHP Fatal error: Allowed memory size of 1073741824 bytes
   exhausted (tried to allocate 12288 bytes) in /home4/…./public_html/wp-includes/
   functions.php on line 642\n
 * Backend log: PHP Notice: ob_end_flush(): Failed to send buffer of zlib output
   compression (0) in /home4/…../public_html/wp-includes/functions.php
 * – Lastly when trying to do a backup I’m getting the following warning messages:
 * 0000.097 (0) Output: zip warning: binziptest/test.zip not found or empty
    0000.097(
   0) Output: adding: binziptest/subdir1/ (in=0) (out=0) (stored 0%) 0000.098 (0)
   Output: adding: binziptest/subdir1/subdir2/ (in=0) (out=0) (stored 0%) 0000.098(
   0) Output: adding: binziptest/subdir1/subdir2/test.html (in=131) (out=107) (deflated
   18%)
 * 0030.040 (0) [Warning] uploads/wpforms/.htaccess.cpmh3129: unreadable file – 
   could not be backed up
 * 0069.773 (0) PHP event: code E_WARNING: filemtime(): stat failed for /home4/…./
   public_html/wp-content/updraft/backup_2022-05-06-2224_…._f63ba42a9f29-db.gz (
   line 1884, wp-content/plugins/updraftplus/backup.php)
 * I have contacted my host servers who keep insisting everything is okay from them,
   I have contacted the plugins – 4 to be exact being affected and its not them 
   either. I have tried: optimising database, clear caches, change browsers and 
   deactivating plugins, all with no luck.
 * Everything is up to date as well.
 * Would be incredibly grateful for any help, as I’m hitting my head against a stack
   of brick walls.
    -  This topic was modified 4 years ago by [oriver](https://wordpress.org/support/users/oriver/).
    -  This topic was modified 4 years ago by [oriver](https://wordpress.org/support/users/oriver/).

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15628407)
 * > I have contacted my host servers who keep insisting everything is okay from
   > them, I have contacted the plugins – 4 to be exact being affected and its not
   > them either.
 * Either they’re kicking balls or you could be running into mis-configuration/conflicts.
 * 1.)
 * > deactivating plugins
 * After you’ve de-activated plugins, what does the errors on your WP-Admin Dashboard
   look like? Does it have same or less errors? If less, what errors were still 
   present compared to before?
 * 2.)
 * > PHP Fatal error: Allowed memory size of 1073741824
 * You could be running out of available memory, which could have caused those errors.
 * However, let’s focus on 1.) above for now.
 *  Thread Starter [oriver](https://wordpress.org/support/users/oriver/)
 * (@oriver)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15628875)
 * Hi [@stevenlinx](https://wordpress.org/support/users/stevenlinx/)
 * Thank you for your message.
 * 1) I’ve deactivated all the plugins and then just left on the affected plugins,
   one at a time that is, to check if there was a conflict. Same problems remained.
   –
   when turning off all plugins accept image compression still had cURL – Image 
   tearing is sporadic, but has happened when everything was deactivated and just
   in the media library, hit refresh and the torn image then shows fine. – Get the
   server error message still when switching between functions on the dashboard
 * 2) Apparently the PHP memory is set to full. My disk usage is 3.60, with 3,480mb
   in public_html/ SQL 69
 * Directive Local Value Master Value
    max_input_time 20000 60 max_input_vars 20000
   1000 memory_limit 8192M 512M
 * Thank you for your help.
 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15632773)
 * 1.)
    What web host do you have? on what hosting plan?
 * 2.)
    In your `wp-config.php` file under the WordPress folder of your site, do
   you have these two lines?
 *     ```
       define( 'WP_MEMORY_LIMIT', 'XXX' );
       define( 'WP_MAX_MEMORY_LIMIT', 'XXX' );
       ```
   
 * If so, what are the values?
 *  Thread Starter [oriver](https://wordpress.org/support/users/oriver/)
 * (@oriver)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15633830)
 * [@stevenlinx](https://wordpress.org/support/users/stevenlinx/)
 * 1) I’m on a shared hosting plan, max database 5GB
 * 2) I found the file but the two lines were missing. I did find a summary of the
   PHP settings which states: memory_limit 8192, post_max_size 8192, upload_max_filesize
   8192.
 *  Thread Starter [oriver](https://wordpress.org/support/users/oriver/)
 * (@oriver)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15633847)
 * [@stevenlinx](https://wordpress.org/support/users/stevenlinx/)
 * I think my host server may have gone a little far in changing the PHP settings
   to solve the cURL issue, which it didn’t fix.
 * The settings currently are:
    max_execution_time 20000 max_input_time 20000 max-
   inputs-vars 20000 memory_limit 8192M post_max_size 8192M session.gc_maxlifetime
   1440 upload_max_filesize 8192M zlib.output_compression Disabled
 * Would it be best to change these? Thanks again
 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15636416)
 * 1.)
    `I’m on a shared hosting plan, max database 5GB` I wonder if you can provide
   the name of the web hosting company so I can take a detailed look at the specs
   of the hosting plan. Also, I can compare it with other web hosting company/plans
   that I could be recommending.
 * 2.)
    Your system has many plug-ins and its running into a memory limitation; 
   shared hosting doesn’t provide much memory to begin with.
 * The PHP 8192M (8 GiB) memory limit is shared with other customers’ sites on the
   same server. Then, there seems to be another hard limit of 1 GiB placed on each
   site (to make sure one site does not use up all the resources on the shared server).
 * In your `wp-config.php` file, add in these two lines and see what happens:
 * define( ‘WP_MEMORY_LIMIT’, ‘5120M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘5120M’);
 * I.) Are the errors less or more?
    II.) Do you still see “PHP Fatal error: Allowed
   memory size of XXX bytes exhausted” What’s the full message?
 *  Thread Starter [oriver](https://wordpress.org/support/users/oriver/)
 * (@oriver)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15637327)
 * [@stevenlinx](https://wordpress.org/support/users/stevenlinx/)
 * Hi,
 * I’m a bit unsure about adding lines to the wp-config.php file, as I’m not a developer,
   my knowledge is basic to getting better.
 * 1. With BlueHost, on Shared Choice.
 * 2. It’s been suggested that the PHP settings were too extreme and would have 
   been adding to the problem. I therefore changed it to:
 *     ```
       max_execution_time 1200
       max_input_time 1200
       max-inputs-vars 4000
       memory_limit 1028M
       post_max_size 128M
       session.gc_maxlifetime 1440
       upload_max_filesize 128M
       zlib.output_compression Disabled
       ```
   
 * But post images are taking a long time to appear. Do you please have any suggestions
   as to what I should change these to?
 * Thank you
    -  This reply was modified 4 years ago by [oriver](https://wordpress.org/support/users/oriver/).
 *  [Steven Lin](https://wordpress.org/support/users/stevenlinx/)
 * (@stevenlinx)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15640310)
 * 1.)
 *     ```
       I’m a bit unsure about adding lines to the wp-config.php file, as I’m not a developer, my knowledge is basic to getting better.
       ```
   
 * If that’s the case, then it’s probably hard to move forward from this point on
   in this thread.
 * 2.)
 * > Backend fatal error: PHP Fatal error: Allowed memory size of 1073741824 bytes
   > exhausted (tried to allocate 12288 bytes) in /home4/…./public_html/wp-includes/
 * 1073741824 bytes is 1 GiB, which is very large for a site that is on shared hosting.
 * In other words, you either reduce the memory footprint (fixing site issues or
   reduce the number of plug-ins) or the site shouldn’t be on shared hosting.
 * Most WP sites have a memory allocation of 256 MB.
 * For sites on shared hosting, you would typically only have between 0 and 5 plugins.
 * For sites on cloud hosting/VPS hosting/dedicated server, you can run anywhere
   from 5 and 20 plugins without much issues.
 * Your best bet going forward is probably to recruit outside help (e.g. freelancers)
   to take a deeper look at your system (i.e. there could be more than one issue).
 * After working with outside help, if upgrading hosting is determined to be needed(
   and since you’re already using the Smush plug-in), maybe you want to take a look
   at WPMU DEV. Their lowest tier has 1 GB dedicated memory and you instantly get
   to use 7 of their Pro plugins for free, including Smush Pro.
    [https://wpmudev.com/hosting/](https://wpmudev.com/hosting/)
 *  Thread Starter [oriver](https://wordpress.org/support/users/oriver/)
 * (@oriver)
 * [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15646061)
 * [@stevenlinx](https://wordpress.org/support/users/stevenlinx/)
 * Thank you, your advice has been really helpful. I’ll try to reduce plugins and
   have a look at outside help, along with upgrading hosting. Many thanks again.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Multiple Errors, Need Help’ is closed to new replies.

## Tags

 * [curl](https://wordpress.org/support/topic-tag/curl/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [oriver](https://wordpress.org/support/users/oriver/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/multiple-errors-need-help/#post-15646061)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
