-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels