• Resolved protechs2

    (@protechs2)


    >> 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://ww.wp.xz.cn/plugins/backupwordpress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tom Willmot

    (@willmot)

    [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

    (@willmot)

    [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

    (@willmot)

    We should suppress this with @

    See https://github.com/humanmade/backupwordpress/issues/432

    Thread Starter protechs2

    (@protechs2)

    >> 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

    (@willmot)

    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

    (@pauldewouters)

    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.