Title: PHP Error
Last modified: March 29, 2024

---

# PHP Error

 *  [delawaregrad](https://wordpress.org/support/users/delawaregrad/)
 * (@delawaregrad)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-642/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-642%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-642/#post-17538952)
 * 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](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-642/#post-17540286)
 * 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](https://wordpress.org/support/users/delawaregrad/)
 * (@delawaregrad)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-642/#post-17540651)
 * It’s 8.2.4
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-642/#post-17541289)
 * Okay. I’m running 8.3 and am still not seeing this error. Stay tuned …
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-642/#post-17552117)
 * Hi delawaregrad,
 * I have a patch that I’d like you to try in your environment. Send me your e-mail
   address (mark@shoalsummitsolutions.com) 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.

 * ![](https://ps.w.org/mstw-schedules-scoreboards/assets/icon-128x128.png?rev=1087789)
 * [MSTW Schedules & Scoreboards](https://wordpress.org/plugins/mstw-schedules-scoreboards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mstw-schedules-scoreboards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mstw-schedules-scoreboards/)
 * [Active Topics](https://wordpress.org/support/plugin/mstw-schedules-scoreboards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mstw-schedules-scoreboards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mstw-schedules-scoreboards/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-642/#post-17552117)
 * Status: not resolved