• I was happy to see an update for PHP8 and updated the plugin on my local version. I previously had it deactivated due to critical errors. After the update, I still have a fatal error and 15 errors listed. Here are a few in case you have any thoughts or updates:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct() …

    0 D:\xampp\htdocs\qb\wp-includes\class-wp-widget-factory.php(62): WP_Widget->__construct()

    1 D:\xampp\htdocs\qb\wp-includes\widgets.php(115): WP_Widget_Factory->register(‘mstw_ss_sched_w…’)

    2 D:\xampp\htdocs\qb\wp-content\plugins\mstw-schedules-scoreboards\mstw-schedules-scoreboards.php(357): register_widget(‘mstw_ss_sched_w…’)

    3 D:\xampp\htdocs\qb\wp-includes\class-wp-hook.php(324): mstw_ss_register_widgets(”)

    4 D:\xampp\htdocs\qb\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    5 D:\xampp\htdocs\qb\wp-includes\plugin.php(517): WP_Hook->do_action(Array)

    6 D:\xampp\htdocs\qb\wp-includes\widgets.php(1858): do_action(‘widgets_init’)

    7 D:\xampp\htdocs\qb\wp-includes\class-wp-hook.php(324): wp_widgets_init(”)

    Thank you. Really love this to output game schedules and so flexible to override locations, etc., but it may be time to move on.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Thank you very much for the detailed listing of the error. I believe all these messages are coming from the error with __contstruct(). This is a common error I see when working through PhP 8 upgrades. (One which I seem to remember fixing but that may have been a different plugin.) I will try to find time to fix the problem this weekend. Stay tuned.

    -Mark

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi can’t duplicate this error on my test site with PHP 8.0.22. Which version of PHP 8 are you running?

    Thread Starter delawaregrad

    (@delawaregrad)

    It’s 8.2.4

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Okay. I’m running 8.3 and am still not seeing this error. Stay tuned …

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi delawaregrad,

    I have a patch that I’d like you to try in your environment. Send me your e-mail address ([email protected]) and we can work a test outside this forum.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Error’ is closed to new replies.