Title: load.php has constant errors
Last modified: September 1, 2016

---

# load.php has constant errors

 *  [mnmca](https://wordpress.org/support/users/mnmca/)
 * (@mnmca)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/loadphp-has-constant-errors/)
 * My wordpress is on mnm.ca/m and recently I have these errors hundreds of times
   in my php logs.
 *     ```
       [Mon Jun 13 11:02:16.521981 2016] [:error] [pid 297335] [client 207.46.13.20:17184] PHP Warning:  error_reporting() has been disabled for security reasons in /home/frank28/public_html/mnm/m/wp-includes/load.php on line 301
       [Mon Jun 13 11:02:16.518795 2016] [:error] [pid 297335] [client 207.46.13.20:17184] PHP Warning:  error_reporting() has been disabled for security reasons in /home/frank28/public_html/mnm/m/wp-load.php on line 24
       ```
   
 * I looked everywhere for help and cannot see it mentioned on google or on this
   support forum.
 * Any help would be greatly appreciated

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

 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/loadphp-has-constant-errors/#post-7472862)
 * Remove the error_reporting string from the disable_functions at php.ini* file
 *  Ask your hosting provider to remove the string above if you don’t have an access
   to the php.ini* file
 *  Change hosting provider which allows the running of the error_reporting function.
 *  Thread Starter [mnmca](https://wordpress.org/support/users/mnmca/)
 * (@mnmca)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/loadphp-has-constant-errors/#post-7472874)
 * I have access to the php file, my shopping basket host had me turn on error logging
   to see what was happening. See this…
    [https://www.ecwid.com/forums/showthread.php?p=146964#post146964](https://www.ecwid.com/forums/showthread.php?p=146964#post146964)
 * Here is my php file… what do I remove?
 *     ```
       register_globals = Off
   
       zend_extension="/usr/local/IonCube/ioncube_loader_lin_4.4.so"
       zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_4.4_ts.so"
   
       [Zend]
       zend_optimizer.optimization_level=15
       zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
       zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
       zend_optimizer.version=3.3.3
   
       zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
       zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
   
       max_input_vars = 4000
       php_value max_input_vars = 5000
   
       error_reporting = 4339
       display_errors = Off
       display_startup_errors = On
       log_errors = On
       disable_functions = ini_set,error_reporting
       log_errors_max_len = 1024
       ignore_repeated_errors = Off
       ignore_repeated_source = Off
       html_errors = Off
       ```
   
 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/loadphp-has-constant-errors/#post-7472914)
 * Remove this line and test:
 * `disable_functions = ini_set,error_reporting`
 * or replace with
 * `disable_functions =`
 * [http://stackoverflow.com/questions/24007248/how-to-eliminate-error-warnings-about-ini-set](http://stackoverflow.com/questions/24007248/how-to-eliminate-error-warnings-about-ini-set)
 *  [AjitKhodke](https://wordpress.org/support/users/ajitkhodke/)
 * (@ajitkhodke)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/loadphp-has-constant-errors/#post-7472915)
 * You can disable showing of PHP warnings, either in server main php.ini or custom
   php.ini on the account.
 * edit /usr/local/lib/php.ini, and change error_reporting value to following, to
   not show notices and warnings.
 * error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
 * if you want do it by custom php.ini on the account, copy the main php.ini to 
   user folder and edit that file.
 * cp /usr/local/lib/php.ini /home/$user/public_html/php.ini
 * and then edit that file, and change error_reporting
 *  Thread Starter [mnmca](https://wordpress.org/support/users/mnmca/)
 * (@mnmca)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/loadphp-has-constant-errors/#post-7472925)
 * Thanks guys, I know I can disable the warning, the thing is I would like to know
   why I am getting them. I am having problems with my google indexing and they 
   say I have too many errors. I turned on error logging and these two errors keep
   showing hp hundreds of times.
 * I have a standard instal through cpanel with all the updates and have never modified
   the files. It’s driving me nuts.

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

The topic ‘load.php has constant errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [mnmca](https://wordpress.org/support/users/mnmca/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/loadphp-has-constant-errors/#post-7472925)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
