We are experiencing a fatal error when navigating on random admin pages but most of the time it happens when we try to access the Update page of WordPress.
The error we see is this one
[26-Jun-2023 10:41:17 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property “filename” on null in /wp-content/plugins/user-role-editor-pro/pro/includes/plugin-update-checker.php:222
We deactivated and re-activated the plugin and are currently working with Version 4.63.4. Is this a bug or some know issue?
As you can see from the code above $this->pluginFile at the line 222 can not be null, if exactly this code is executed. It just processes PHP built-in __FILE__ constant value.
I suppose that you may use another plugin, which also use PluginUpdateChecker class, but defined earlier due to code execution queue and possibly another version, which may lead to a conflict. Check your plugins source code using command similar