Jump to content
  • Status: Moved to Github

image.png

Whoops\Exception\ErrorException thrown with message "Undefined array key "Quizzes""

Stacktrace:
#11 Whoops\Exception\ErrorException in C:\wamp64\www\50x\applications\core\sources\Achievements\Rule.php:136
#10 Whoops\Run:handleError in C:\wamp64\www\50x\applications\core\sources\Achievements\Rule.php:136
#9 IPS\core\Achievements\Rule:extension in C:\wamp64\www\50x\system\Theme\Theme.php:3840
#8 IPS\Theme\theme_core_admin_achievements_rulesListRows in C:\wamp64\www\50x\system\Theme\Dev\Template.php:151
#7 IPS\Theme\Dev\Template:__call in C:\wamp64\www\50x\system\Theme\Theme.php:3840
#6 IPS\Theme\theme_core_admin_achievements_rulesList in C:\wamp64\www\50x\system\Theme\Dev\Template.php:151
#5 IPS\Theme\Dev\Template:__call in C:\wamp64\www\50x\applications\core\modules\admin\achievements\rules.php:117
#4 IPS\core\modules\admin\achievements\rules:manage in C:\wamp64\www\50x\system\Dispatcher\Controller.php:139
#3 IPS\Dispatcher\Controller:execute in C:\wamp64\www\50x\system\Node\Controller.php:117
#2 IPS\Node\Controller:execute in C:\wamp64\www\50x\applications\core\modules\admin\achievements\rules.php:68
#1 IPS\core\modules\admin\achievements\rules:execute in C:\wamp64\www\50x\system\Dispatcher\Dispatcher.php:169
#0 IPS\Dispatcher:run in C:\wamp64\www\50x\admin\index.php:15
    /**
     * Get the extension
     *
     * @return    AchievementActionAbstract
     */
    public function extension(): AchievementActionAbstract
    {
        $exploded = explode( '_', $this->action );
        return Application::load( $exploded[0] )->extensions( 'core', 'AchievementAction' )[ $exploded[1] ];
    }

All fine after deleting the record from the core_achievements_rules table.

User Feedback

Recommended Comments

There are no comments to display.