Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 47076

Re: error upgrade Moodle 4.3 to Moodle 4.4.

$
0
0
von Sean Marx.  

Hi

I know this is a bit late, but will share it anyway. I may help the next person.

I upgraded from 4.3 to 4.4 using PHP 8.1 and received the error:
Exception - Failed opening required '[dirroot]/question/category_class.php' (include_path='[dirroot]/lib/pear:.:/usr/local/lib/php/')

I enabled full debugging and received the following:
Warning: require_once(/usr/www/users/dynale/question/category_class.php): Failed to open stream: No such file or directory in /usr/www/users/dynale/mod/booking/lib.php on line 30
Error
Exception - Failed opening required '[dirroot]/question/category_class.php' (include_path='[dirroot]/lib/pear:.:/usr/local/lib/php/')
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 30 of /mod/booking/lib.php: Error thrown
line 974 of /lib/classes/component.php: call to include_once()
line 7555 of /lib/moodlelib.php: call to core_component::get_plugin_list_with_file()
line 865 of /lib/setup.php: call to get_plugins_with_function()
line 30 of /config.php: call to require_once()
line 94 of /admin/index.php: call to require()

As we were not using the Booking plugin, I simply removed it and completed the upgrade to 4.4 without further issues. I then switched to PHP 8.2 and everything is working perfectly.


Viewing all articles
Browse latest Browse all 47076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>