• Resolved Neo

    (@firefliespilots)


    Dear,

    I have installed and activated your plugin today. Before I buy the Pro version, I wanted to test it with the Light version.

    The following errors came out under PHP 8 and 7.4.

    Installed plugins:
    – Cloudflare
    – Envato Market
    – Elementor
    – Ultimate GDPR & CCPA
    – Woocommerce
    – WP 2FA – Two-factor authentication for WordPress
    – WPScan

    Best regards Neo

    Error: PHP 8.0

    Warning: Undefined variable $output in mysite.com/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php on line 240

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, first array member is not a valid class name or object in mysite.com/wp-includes/class-wp-hook.php:287 Stack trace: #0 mysite.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(false, Array) #1 mysite.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #2 mysite.com/wp-admin/admin.php(175): do_action(‘admin_init’) #3 mysite.com/wp-admin/network/admin.php(13): require_once(‘/home/clients/0…’) #4 mysite.com/wp-admin/network/plugins.php(11): require_once(‘/home/clients/0…’) #5 {main} thrown in mysite.com/wp-includes/class-wp-hook.php on line 287
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Error PHP 7.4
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in mysite.com/wp-includes/class-wp-hook.php on line 287

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Brad Markle

    (@bwmarkle)

    Hi @firefliespilots,

    I’m sorry to hear of the warnings you’re getting, but I’m happy to review and I’m sure we can get these resolved.

    I’ll setup a test environment with the same plugins that you’re running, and see if I can replicate the problem.

    Can you share what exactly you’re doing to get these warnings / errors? Do you simply activate the plugin and it happens, do you try to make a backup, or something else all together?

    Thanks,
    – Brad

    Thread Starter Neo

    (@firefliespilots)

    Dear @bwmarkle, many thanks. It happens immediately after the activation of the plugin. Cheers Neo

    Plugin Author Brad Markle

    (@bwmarkle)

    Hi @firefliespilots, we haven’t officially began php8 testing, but I was able to get a php8 environment and run through some quick tests.

    Right away I found a php deprecated warning, and we’ll fix that soon. That’ wouldn’t break anything, but it is useful to know (and an easy fix).

    I’m more interested in this warning:

    Warning: Undefined variable $output in mysite.com/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php on line 240

    I can’t replicate it, but it’s basically saying we can’t find one of these available functions:

    ‘popen’,
    ‘proc_open’,
    ‘exec’,
    ‘shell_exec’,
    ‘passthru’,
    ‘system’,

    Would you be willing to share who your web hosting provider is? We can possibly get an account there, replicate, and fix this problem.

    Thanks,
    – Brad

    Thread Starter Neo

    (@firefliespilots)

    Dear @bwmarkle, many thanks.

    I am with infomaniak.com. But you do not need to open an account there.

    I have seen that I have disabled these settings in the server. Does the plugin need these functions? Then I turn it on of course.

    Thank you very much.

    exec, shell_exec, popen, proc_open, pcntl_exec

    sunny greetings Neo

    Plugin Author Brad Markle

    (@bwmarkle)

    Hi @firefliespilots,

    We don’t need all of exec, shell_exec, popen, proc_open, pcntl_exec to be available, just one of them. If Total Upkeep finds one, it uses that.

    Are you able to test and let us know if this helps?

    Thanks,
    – Brad

    Plugin Contributor Jesse Owens

    (@jessecowens)

    Hi @firefliespilots

    It’s been about a week since we heard back from you, so I’m marking this topic as resolved. Please let us know if you have any more questions, we’re happy to help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP 8.0 and 7.4 comptible? Conflict’ is closed to new replies.