Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing installation on 4.3 #6

Open
thirzel opened this issue Dec 6, 2023 · 1 comment
Open

Testing installation on 4.3 #6

thirzel opened this issue Dec 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@thirzel
Copy link

thirzel commented Dec 6, 2023

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)

@michael-milette
Copy link
Owner

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

@michael-milette michael-milette added the bug Something isn't working label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants