You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install the block, the installation fails with
block_zoola
Coding error detected, it must be fixed by a programmer: Capability 'block/zoola:myaddinstance' was not found! This has to be fixed in code.
More information about this error
Debug info:
Error code: codingerror
Stack trace:
line 1306 of /lib/accesslib.php: coding_exception thrown
line 4616 of /lib/accesslib.php: call to assign_capability()
line 69 of /blocks/zoola/db/upgradelib.php: call to role_change_permission()
line 108 of /blocks/zoola/db/upgradelib.php: call to block_zoola_role_permissions()
line 31 of /blocks/zoola/db/install.php: call to block_zoola_role_setup()
line 976 of /lib/upgradelib.php: call to xmldb_block_zoola_install()
line 510 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1850 of /lib/upgradelib.php: call to upgrade_plugins()
line 694 of /admin/index.php: call to upgrade_noncore()
As the stack trace shows, the problem is in calling role_change_permission() before the block is actually installed.
The text was updated successfully, but these errors were encountered:
@mudrd8mz thank you for the report! this version of the plugin is outdated, we have uploaded the most recent version to the plugin listing page at moodle.org and will update this repository as well
When trying to install the block, the installation fails with
As the stack trace shows, the problem is in calling
role_change_permission()
before the block is actually installed.The text was updated successfully, but these errors were encountered: