Closed rayjamesdev closed 1 year ago
Hmm, this looks a lot like what was reported here:
https://github.com/backdrop-contrib/coder_upgrade/issues/78#issuecomment-1355166329
Can you check the watchdog log at path admin/reports/dblog
, which should also give the fine and line number where that error is happening?
More info:
Fresh install of : Backdrop 1.24.0 Windows 11 Xampp version 8.1.12 PHP Version: 8.1.12 MySQL Version: 8.0.32 - MySQL Community Server - GPL
WATCHDOG RESULTS: TypeError: set_exception_handler(): Argument #1 ($callback) must be a valid callback or null, class PGPParser does not have a method "exception_handler" in set_exception_handler() (line 107 of D:\xampp8.1.12\htdocs\mysite\site\modules\Contrib\coder_upgrade\grammar_parser\parser.inc).
Thanks for your time. I'm also not able to convert a module, but I will post that issue separately. thx
Some testing confirms that this error happens reproducibly on PHP 8.1 and not on PHP 7.4 or less. Also happens on PHP 8.0.
@rayjamesdev could you please test that the latest code fixes this issue?
Hi, my apologies. I trashed my entire 8.1 setup and am using 7.2 for development. I no longer have the means of testing/using 8.1
OK. Closing, since it appears the fix for https://github.com/backdrop-contrib/coder_upgrade/issues/78 addressed the problem.
After installing the module, on the /admin/modules page, when I click on CONFIGURE for that module, I get the following error the page located at admin/config/development/coder-upgrade/settings: Error set_exception_handler(): Argument #1 ($callback) must be a valid callback or null, class PGPParser does not have a method "exception_handler"
I have included screenshots as well. Thanks