Fatal error with PHP 8.3 on multisite
-
I have been using Error Log Monitor for years with no issues. Today I am setting up a new multisite installation running PHP 8.3. I am trying to activate either the free or pro version of Error log monitor and get a fatal error:
[15-Jan-2026 21:44:51 UTC] PHP Warning: Attempt to read property “id” on null in /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php on line 11814
[15-Jan-2026 21:44:51 UTC] PHP Fatal error: Uncaught TypeError: Freemius::get_api_user_scope_by_user(): Argument #1 ($user) must be of type FS_User, null given, called in /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php on line 23654 and defined in /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php:23668
Stack trace: 0 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php(23654): Freemius->get_api_user_scope_by_user(NULL) 1 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php(20389): Freemius->get_api_user_scope() 2 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php(11824): Freemius->_fetch_licenses(false, ‘1096763’, Array, NULL) 3 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php(11947): Freemius->_sync_licenses(‘1096763’) 4 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php(16706): Freemius->_get_license_by_id(‘1096763’) 5 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php(559): Freemius->_load_account() 6 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php(2868): Freemius->__construct(‘2379’, ‘error-log-monit…’, true) 7 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/start.php(620): Freemius::instance(‘2379’, ‘error-log-monit…’, true) 8 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/plugin.php(33): fs_dynamic_init(Array) 9 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/plugin.php(53): wsh_elm_fs() 10 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-admin/includes/plugin.php(2400): include_once(‘/chroot/home/a6…’) 11 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-admin/includes/plugin.php(673): plugin_sandbox_scrape(‘error-log-monit…’) 12 /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-admin/plugins.php(60): activate_plugin(‘error-log-monit…’, ‘https://plengeg…’, false) 13 {main}thrown in /chroot/home/a61c4566/a87909b784.nxcli.io/html/wp-content/plugins/error-log-monitor/freemius/includes/class-freemius.php on line 23668
This only happens on one of the sites in the multisite installation, and on others it activates fine. Is there a known issue with this that you are aware of that can help me avoid doing PHP version testing or plugin conflict testing?
Thanks.
You must be logged in to reply to this topic.