Open thirzel opened 11 months ago
Hi @thirzel ,
Indeed, there are a LOT of compatibility issues with Moodle 4.x. I worked on it this past summer but it just resulted in other compatibility issues. Unless someone is willing to pay for my time to work on this, this isn't moving forward very quickly as I work on it voluntarily.
If you have time to work on it, feel free to take a look at the "rc" branch which was last updated on August 24, 2023.
Feel free to submit PRs. If you want to hire me, you can contact me directly by going to https://www.tngconsulting.ca/contact
Best regards,
Michael
As expected it is not possible to install the plugin on Moodle 4.0 yet. During the process it states everything ok, but when updating the database the following error shows up:
Upgrading to new version block_cmanager Course Manager Configuration Builder Building Config Variables... Exception - time() expects exactly 0 arguments, 1 given
More information about this error
Debug info: Error code: generalexceptionmessage×Dismiss this notification Stack trace: line 60 of \blocks\cmanager\db\install.php: ArgumentCountError thrown line 60 of \blocks\cmanager\db\install.php: call to time() line 1114 of \lib\upgradelib.php: call to xmldb_block_cmanager_install() line 698 of \lib\upgradelib.php: call to upgrade_plugins_blocks() line 1983 of \lib\upgradelib.php: call to upgrade_plugins() line 726 of \admin\index.php: call to upgrade_noncore()
However, you can continue by ignoring the message. But when a user wants to make a course request through the block it states:
Exception - Failed opening required '[dirroot]/lib/coursecatlib.php' (include_path='[dirroot]/lib/pear;[PATH-TO-MY-INSTALL]\server\php\PEAR')
More information about this error
Tested on: Moodle 4.3+ (Build: 20231124) XAMPP v8.2.4-0 Portable (x64)