Title: Error Log Messages &#8211; Why?
Last modified: September 3, 2025

---

# Error Log Messages – Why?

 *  Resolved [dfcsl](https://wordpress.org/support/users/dfcsl/)
 * (@dfcsl)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/error-log-messages-why/)
 * Why am I getting these error messages in my cPanel error log?
   Could they be causing
   Server spikes? (shared hosting)I have the latest version of WP as an update from
   within WordPress.[03-Sep-2025 11:34:29 UTC] PHP Warning: include(/home/tradeadv/
   public_html/bontrade/tradingbooks/wp-includes/assets/script-loader-packages.min.
   php): Failed to open stream: No such file or directory in /home/tradeadv/public_html/
   bontrade/tradingbooks/wp-includes/script-loader.php on line 281[03-Sep-2025 11:
   34:29 UTC] PHP Warning: include(): Failed opening ‘/home/tradeadv/public_html/
   bontrade/tradingbooks/wp-includes/assets/script-loader-packages.min.php’ for 
   inclusion (include_path=’.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/
   php:/usr/share/pear:/usr/share/php’) in /home/tradeadv/public_html/bontrade/tradingbooks/
   wp-includes/script-loader.php on line 281[03-Sep-2025 11:34:29 UTC] PHP Warning:
   foreach() argument must be of type array|object, false given in /home/tradeadv/
   public_html/bontrade/tradingbooks/wp-includes/script-loader.php on line 283[03-
   Sep-2025 11:34:29 UTC] PHP Warning: include(/home/tradeadv/public_html/bontrade/
   tradingbooks/wp-includes/assets/script-modules-packages.min.php): Failed to open
   stream: No such file or directory in /home/tradeadv/public_html/bontrade/tradingbooks/
   wp-includes/script-modules.php on line 142[03-Sep-2025 11:34:29 UTC] PHP Warning:
   include(): Failed opening ‘/home/tradeadv/public_html/bontrade/tradingbooks/wp-
   includes/assets/script-modules-packages.min.php’ for inclusion (include_path=’.:/
   opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/
   share/php’) in /home/tradeadv/public_html/bontrade/tradingbooks/wp-includes/script-
   modules.php on line 142[03-Sep-2025 11:34:29 UTC] PHP Warning: foreach() argument
   must be of type array|object, false given in /home/tradeadv/public_html/bontrade/
   tradingbooks/wp-includes/script-modules.php on line 144[03-Sep-2025 11:34:29 
   UTC] PHP Warning: file_get_contents(/home/tradeadv/public_html/bontrade/tradingbooks/
   wp-includes/js/wp-emoji-loader.min.js): Failed to open stream: No such file or
   directory in /home/tradeadv/public_html/bontrade/tradingbooks/wp-includes/formatting.
   php on line 5966

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/error-log-messages-why/#post-18626111)
 * Those file should exist and be accessible for your installation, thus either 
   the files are truly missing, or your server configuration needs adjustment. Confirm
   that the files actually exist via FTP or your cPanel’s file manager. If they 
   do not, preform a manual update, even though it’s to the same version. The point
   is to upload files from a fresh download. Do not use the reinstall WP button 
   on the updates admin screen, it’s not very good at replacing missing files.
 * If the files do exist, check the file’s permissions and owner. Permissions typically
   should be 644, though YMMV. The owner should ideally be the server user (not 
   WP user) that PHP runs as. If not, you may need your host to help you assign 
   the correct owner.
 * The bad argument errors are likely a knock on effect from the inaccessible files.
   They should be resolved once the files are accessible.
 *  Thread Starter [dfcsl](https://wordpress.org/support/users/dfcsl/)
 * (@dfcsl)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/error-log-messages-why/#post-18626364)
 * OK. Thank you. I will investigate further.

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

The topic ‘Error Log Messages – Why?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dfcsl](https://wordpress.org/support/users/dfcsl/)
 * Last activity: [9 months, 1 week ago](https://wordpress.org/support/topic/error-log-messages-why/#post-18626364)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
