• Resolved Ra

    (@w1lb0ra)


    Hi,
    i get an error when using updraft plus.
    The backup hangs on backing up the database:
    PHP event: code E_WARNING: popen() has been disabled for security reasons (line 933, wp-content/plugins/updraftplus/class-updraftplus.php) (Nov 18 22:20:26)

    Adding this to wp config didnt help:
    define(‘UPDRAFTPLUS_PREFERPCLZIP’, true);
    neither did this:
    define(‘UPDRAFTPLUS_MYSQLDUMP_EXECUTABLE’, ”);

    I hope you can help me.

    Regards,
    Ra

    https://wordpress.org/plugins/updraftplus/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Where in your wp-config.php are you putting that? It seems not to be taking effect, so you may be putting it too late.

    David

    Thread Starter Ra

    (@w1lb0ra)

    Hi David,

    Thanks for your help.
    I didnt know where to put it, so i put it at the bottom.
    some backgrund info:
    i have ithemes security installed. before installing it, updraft was working fine. no longer though. i asked them (ithemes support) to help me, but they think the problem isnt caused by ithemes.

    im thinking of buying updraft for all my sites, but i do need them to work with ithemes security.

    Hope you can help.
    Regards,
    Ra

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    You should put it towards the top of the wp-config.php. At the bottom, it can’t take effect.

    It’s not to do with iThemes. The problem is that your PHP engine on your web hosting setup crashes completely if the script calls the PHP popen() function. It ought to just return an error instead of crashing completely. But, defining the two defines above works around it by making sure popen() is not called.

    David

    Thread Starter Ra

    (@w1lb0ra)

    Hi David,

    Thanks for your excellent help and your quick responses. Placing the 2 defines towards the top fixed the problem.

    Thank you 🙂

    Ra

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

The topic ‘error: PHP event: code E_WARNING: popen() has been disabled’ is closed to new replies.