• Resolved Boris

    (@ispacecrusader)


    Hi,
    I saw someone else also reported the PHP error after the latest plugin update. However, I cannot get it to NOT display at all. Even with debug and display error disabled in wp-config, I still see this error both in WP-admin and on the frontend:

    Warning: foreach() argument must be of type array|object, bool given in /…../wp-content/plugins/backwpup/src/Plugin/Plugin.php on line 76

    I do not have any other plugins installed that might allow activation of wp debug via the wp-admin interface.

    Maybe it’s harmless, but it doesn’t look good for visitors and it might scare them away.
    The error only goes away when I disabled Backwpup.

    Is there any chance that your developers are going to fix this and release an update?

    Thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Saransh

    (@saranshwpm)

    Hi @ispacecrusader,

    Our developers just informed me that the issue could be caused by a missing config/providers.php file in the BackWPUp plugin folder. Could you please check to see if it is there, or try reinstalling to see if that works?

    I look forward to your reply.

    Best Regards,

    Thread Starter Boris

    (@ispacecrusader)

    Hi @saranshwpm – thank you for your help!
    I removed the plugin and uploaded a fresh download of all files & folders. The providers.php is now certainly present. But when activating the plugin, the issue remains.

    Plugin Support Saransh

    (@saranshwpm)

    Hello @ispacecrusader,

    Can you please reach out to us directly so I can get this investigated by one of our developers?

    Best Regards,

    Thread Starter Boris

    (@ispacecrusader)

    Hi @saranshwpm – certainly. I just send you a message via the contact form on the backwpup website.

    Thread Starter Boris

    (@ispacecrusader)

    Hello @saranshwpm – have you received the mail? I haven’t had any response yet.

    Thread Starter Boris

    (@ispacecrusader)

    Thank you guys at BackWpUp for the great and quick support. It turns out there is a conflict with the MainWP child plugin, and it will be solved in the next BackWpUp update.
    I’m just posting it here in case someone else runs into it.
    Excellent support guys, thanks a lot!

    Plugin Support Saransh

    (@saranshwpm)

    Hi @ispacecrusader,

    Thank you so much for the kind words and for sharing the update here — we really appreciate your patience while we were checking the conflict with MainWP Child.

    If the support experience and the plugin have been helpful, we’d be truly grateful if you’d consider leaving a quick review here: https://ww.wp.xz.cn/support/plugin/backwpup/reviews/

    Your feedback means a lot and helps us keep improving!

    Thanks again!
    — The BackWPup Team

    Thread Starter Boris

    (@ispacecrusader)

    Hi @saranshwpm – I updated to the latest version, 5.1.2. But the problem only seems to have gotten worse. If I activate it now, I get the following warnings (see below). And what is worse, I cannot log in anymore. Only when I remove the BackWPup plugin from the plugins folder using FTP, can I log back in again.

    The warnings:
    Warning: foreach() argument must be of type array|object, bool given in /wp-content/plugins/backwpup/src/Plugin/Plugin.php on line 76

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-login.php on line 515

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-login.php on line 531

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-includes/functions.php on line 7137

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-admin/includes/misc.php on line 1438

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-includes/pluggable.php on line 1093

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-includes/pluggable.php on line 1094

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-includes/pluggable.php on line 1095

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-content/plugins/sitepress-multilingual-cms/classes/user-language/class-wpml-user-language.php on line 267

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/backwpup/src/Plugin/Plugin.php:76) in /wp-content/plugins/pixelyoursite/includes/class-pys.php on line 418

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

The topic ‘PHP warning will not go away’ is closed to new replies.