The issue with your site is a problem with the code:
[Tue Jul 05 13:14:08.278456 2022] [php7:warn] [pid 63638] [client 213.152.162.99:50546] PHP Warning: require_once(/var/www/heddacoconsulting.co.za/www/html/wp-includes/cache.php): failed to open stream: No such file or directory in /var/www/heddacoconsulting.co.za/www/html/wp-includes/load.php on line 716
[Tue Jul 05 13:14:08.279210 2022] [php7:error] [pid 63638] [client 213.152.162.99:50546] PHP Fatal error: require_once(): Failed opening required '/var/www/heddacoconsulting.co.za/www/html/wp-includes/cache.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/heddacoconsulting.co.za/www/html/wp-includes/load.php on line 716
The error message shows which line of code, in which file is as fault
I have downloaded the text file and this is what line 716 is about
require_once ABSPATH . WPINC . ‘/cache.php’;
Please assist if possible because I have no clue what needs to be done.
Regards
]]>In general, a page that has been deployed from our staging site to our main site *may* display the error message below to some endusers and not others or the same enduser (me) can see it in one browser but not others. The error is always the same, regardless of which page has been deployed.
Warning: require_once(/home/customer/www/thelacemuseum.org/public_html/wp-includes/cache.php): failed to open stream: Too many open files in /home/customer/www/thelacemuseum.org/public_html/wp-includes/load.php on line 716
Fatal error: require_once(): Failed opening required ‘/home/customer/www/thelacemuseum.org/public_html/wp-includes/cache.php’ (include_path=’.:/usr/local/php74/pear’) in /home/customer/www/thelacemuseum.org/public_html/wp-includes/load.php on line 716
Today’s problem is that I see this error when I look at https://thelacemuseum.org/past-workshops-images/ in Chrome. I can see the page fine in Firefox and Opera. The Siteground support person could see it fine in Firefox, Chrome and Safari.
Siteground support said “The error is – > failed to open stream: Too many open files meaning that one of the scripts that were running was possibly miscofugured an opening and running things without closing them until it hits the limit on the server side. Since the path of the error does not mention any specific plugin cause it, this mean it is likely connected to the theme of the website.”
I’ve cleared all the caches in Chrome and Siteground. How can I fix this problem so it won’t happen again?
]]>This happens every time I try to save an update to a page, save an edit to a stylesheet, save an edit to a php file, add a plugin, update a plugin, disable a plugin.
Basically, every single edit that I make will not go through due to this issue!
I’m also getting an error when I try to visit the WordPress general options via settings in the dashboard. The error is:
Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (this will throw an Error in a future version of PHP) in /home2/donproject/public_html/wp-includes/load.php on line 115
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Deprecated: Directive ‘allow_url_include’ is deprecated in Unknown on line 0
Attempted Solutions:
So far I have reset the max file sizes by updating values in the php.ini The current htaccess values are as follows:
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php5_module>
php_flag asp_tags Off
php_flag display_errors On
php_value max_execution_time 300
php_value max_input_time 1000
php_value max_input_vars 1000
php_value memory_limit 256M
php_value post_max_size 260M
php_value session.gc_maxlifetime 1440
php_value session.save_path “/tmp”
php_value upload_max_filesize 256M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag asp_tags Off
php_flag display_errors On
php_value max_execution_time 300
php_value max_input_time 1000
php_value max_input_vars 1000
php_value memory_limit 256M
php_value post_max_size 260M
php_value session.gc_maxlifetime 1440
php_value session.save_path “/tmp”
php_value upload_max_filesize 256M
php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit
I also recently updated our PHP version from 5.4 to 7.4 and that did not solve the issue.
As for the WordPress General options error, I cannot find the directive listed and have not been able to update that deprecated code so nothing has been done on that front.
]]>If I deactivate the plugin the messages stop
]]>Warning: array_merge(): Argument #2 is not an array in /home/USERNAME/public_html/wp-includes/load.php on line 66
I recently noticed that one of my pages has this error and all the pages on the homepage have the warning at the top.
Additionally one page does not load and i get these warnings
Warning: Cannot modify header information – headers already sent by (output started at /home/USERNAME/public_html/wp-includes/load.php:66) in /home/USERNAME/public_html/wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information – headers already sent by (output started at /home/USERNAME/public_html/wp-includes/load.php:66) in /home/USERNAME/public_html/wp-includes/pluggable.php on line 1254
using wordpress 5.1.1.
if i go into the admin panel and preview the page i can see the contents which is weird… I found some topics for similar issues with line 63 but not sure if they are related to this. I’m guessing there is something wrong with another file or plugin and not this file itself but not entirely sure.
how can i fix this?
]]>I installed WordPress a while ago and created my site. However last week I tried to log in and received this error:
Parse error: syntax error, unexpected end of file, expecting ‘,’ or ‘)’ in /home/ohaircoz/public_html/wp-includes/load.php on line 1127
Now when I went to look at the load.php file and went down to line 1127 this was the line in question:
$key = substr( sanitize_key( wp_unslash( $_REQUEST[‘wp_scrape_key’] ) ), 0, 32 );
I honestly don’t see anything wrong with that line, and I have had a developer also look at it and he can’t find anything wrong.
I eventually deleted the WordPress installation (thank you technology for backups), but when I did this and made sure there was no WP directory it still came up with this error. I am completely at a loss.
]]>I can load my site but this error appears along the top on both mobile and desktop. Some people aren’t able to access my site at all and just see this along with a few other errors while other people are. My host can’t see anything wrong and says it everyone else’s browser cache.
Is this a WordPress thing instead of a host thing? This wasn’t a problem last night. My site was down this morning so I did have to update my DNS info, which led me to believe my host might be of help. When my site came back up, this error occurred. I’m at a loss.
]]>PHP Warning: array_merge(): Argument #2 is not an array in /wp-includes/load.php on line 63
When I looked into my load.php, i saw the following code under line 63. What should I do to fix it.?
$_SERVER = array_merge( $default_server_values, $_SERVER );
PHP Warning: array_merge(): Argument #2 is not an array in /wp-includes/load.php on line 63
When I looked into my load.php, i see the following under line 63. What should I do to fix it.?
$_SERVER = array_merge( $default_server_values, $_SERVER );
my site yesterday were running just fine, but today when I’m opening it I’m getting this error:
Warning: require(//wp-includes/load.php): failed to open stream: No such file or directory in /wp-settings.php on line 21
Fatal error: require(): Failed opening required ‘//wp-includes/load.php’ (include_path=’.:/:/usr/local/php/pear5′) in /wp-settings.php on line 21
I checked if somehow my load.php were deleted magically from my server, but it’s still there.
This is how my line 21 on settings.php looks like:
// Include files required for initialization.
require( ABSPATH . WPINC . ‘/load.php’ );
No clue about it all. Can you help me with that?
My temporal address is: https://serwer1623901.home.pl/autoinstalator/wordpress/ (I het this error on other pages, besides my home page.)