Title: php errors classes/class-schedule.php &#8212; /class-requirements.php
Last modified: August 21, 2016

---

# php errors classes/class-schedule.php — /class-requirements.php

 *  Resolved [protechs2](https://wordpress.org/support/users/protechs2/)
 * (@protechs2)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/)
 * >> Paul de Wouters (Human Made) Plugin Author 1/21/2014
    >> “protechs2: Could
   you open a new topic for your issue?”
 * Hi,
    New to the plugin — recommended by another great plugin developer, but my
   php error log filled up! Couldn’t do much w/blog (also do anything not related
   to backup) after that as the errors came in every few seconds. Deactivated it.
   Version 2.4.1 on WP 3.8 latest. VPS Server Type: Apache Operating System: Linux
   PHP: 5.3.27
 * The 1st test backup went fast and equivalent to phpMyadmin.
 * Main error log item coming in:
    [21-Jan-2014 00:19:19 America/Chicago] PHP Warning:
   json_encode() [function.json-encode]: Invalid UTF-8 sequence in argument in /
   home/username/public_html/wp-content/plugins/backupwordpress/classes/class-schedule.
   php on line 739
 * Also these many times:
 * [21-Jan-2014 00:03:34 America/Chicago] PHP Warning: shell_exec() has been disabled
   for security reasons in /home/username/public_html/wp-content/plugins/backupwordpress/
   classes/class-requirements.php on line 277
 * [21-Jan-2014 00:04:13 America/Chicago] PHP Warning: shell_exec() has been disabled
   for security reasons in /home/username/public_html/wp-content/plugins/backupwordpress/
   classes/class-requirements.php on line 254
 * [http://wordpress.org/plugins/backupwordpress/](http://wordpress.org/plugins/backupwordpress/)

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

 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/#post-4528412)
 * > `[21-Jan-2014 00:04:13 America/Chicago] PHP Warning: shell_exec() has been 
   > disabled for security reasons in /home/username/public_html/wp-content/plugins/
   > backupwordpress/classes/class-requirements.php on line 254`
 * We should suppress this with `@`
 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/#post-4528413)
 * > `[21-Jan-2014 00:19:19 America/Chicago] PHP Warning: json_encode() [function.
   > json-encode]: Invalid UTF-8 sequence in argument in /home/username/public_html/
   > wp-content/plugins/backupwordpress/classes/class-schedule.php on line 739`
 * Would be interesting to get a stack trace on this to understand what the argument
   was that is causing the error.
 * Could you `var_dump` the argument that is being passed to `json_encode()` in `
   class-schedule.php`.
 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/#post-4528415)
 * > We should suppress this with @
 * See [https://github.com/humanmade/backupwordpress/issues/432](https://github.com/humanmade/backupwordpress/issues/432)
 *  Thread Starter [protechs2](https://wordpress.org/support/users/protechs2/)
 * (@protechs2)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/#post-4528422)
 * >> Could you var_dump the argument that is being passed to json_encode() in class-
   schedule.php.
 * What dump request would work best? Where from?
 * Would I capture it on wp-config debug modes:
    // Enable WP_DEBUG mode define(‘
   WP_DEBUG’, true);
 * // Enable Debug logging to the /wp-content/debug.log file
    define(‘WP_DEBUG_LOG’,
   true);
 * // Disable display of errors and warnings
    define(‘WP_DEBUG_DISPLAY’, false);
   @ini_set(‘display_errors’,0);
 * // Use dev versions of core JS and CSS files (only needed if you are modifying
   these core files)
    define(‘SCRIPT_DEBUG’, true);
 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/#post-4528550)
 * Sorry, I meant could you edit the class-schedule.php file and place a debug_backtrace()
   in the code before that json_encode line.
 * If you are not familiar with what the above means then I wouldn’t attempt it 
   though as you may end up breaking your site.
 * We’ll have both these issues fixed in the next minor release.
 *  Plugin Contributor [Paul de Wouters](https://wordpress.org/support/users/pauldewouters/)
 * (@pauldewouters)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/#post-4528661)
 * This should be fixed now

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

The topic ‘php errors classes/class-schedule.php — /class-requirements.php’ is closed
to new replies.

 * ![](https://ps.w.org/backupwordpress/assets/icon-256x256.jpg?rev=1105225)
 * [BackUpWordPress](https://wordpress.org/plugins/backupwordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/backupwordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/backupwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/backupwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backupwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backupwordpress/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Paul de Wouters](https://wordpress.org/support/users/pauldewouters/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/php-errors-classesclass-schedulephp-class-requirementsphp/#post-4528661)
 * Status: resolved