lsuonline / lsuce-block_quickmail

6 stars 37 forks source link

Quickmail Failed when Attempted Install on Moodle 4.5 #95

Closed bgatwood closed 3 weeks ago

bgatwood commented 1 month ago

I am using Moodle 4.5 on HostGator, Moodle installed using Sotaculous installer on a shared site.

When I download and install Quickmail, I received the following error:

Exception - Undefined constant "MESSAGE_DEFAULT_LOGGEDIN"

More information about this error

Debug info: Error code: generalexceptionmessage×Dismiss this notification Stack trace: line 30 of /blocks/quickmail/db/messages.php: Error thrown line 692 of /lib/messagelib.php: call to require() line 419 of /lib/messagelib.php: call to message_get_providers_from_file() line 623 of /lib/upgradelib.php: call to message_update_providers() line 1077 of /lib/upgradelib.php: call to upgrade_component_updated() line 653 of /lib/upgradelib.php: call to upgrade_plugins_blocks() line 1937 of /lib/upgradelib.php: call to upgrade_plugins() line 719 of /admin/index.php: call to upgrade_noncore()

Possibly this will be handled as a matter of course when Quickmail is formally upgraded to be compatible with 4.5 as I see it says it is for only up to 4.4.

aspark21 commented 1 month ago

Duplicate of #90 with fix in #93

aspark21 commented 3 weeks ago

Fixed fixed in https://github.com/lsuonline/lsuce-block_quickmail/commit/0c9c9da980ad403bb16cdbe0ec68e2c3578e4cca