Giter Club home page Giter Club logo

moodle-block_zoola's People

Contributors

lambdasolutions avatar

Watchers

 avatar  avatar  avatar  avatar

moodle-block_zoola's Issues

Unable to install the plugin

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.