Skip to content

Event is null - error/moodle/dmlwriteexception #200

@TopSolid-DaA

Description

@TopSolid-DaA

Hi

I run this bug when trying to select an event to monitor. I use Moodle 3.9 with Intellicart plugin. It happens only with Intellicart events.

Info de débogage Column 'event' cannot be null
INSERT INTO mdl_tool_trigger_workflows (name,description,event,enabled,realtime,debug,draft,timecreated,timemodified,timetriggered) VALUES(?,?,?,?,?,?,?,?,?,?)
[array (
0 => 'Intellicart',
1 => '{"text":"<p dir=\"ltr\" style=\"text-align: left;\">Intellicart<\/p>","format":"1"}',
2 => NULL,
3 => 1,
4 => 1,
5 => 1,
6 => 0,
7 => 1679302361,
8 => 1679302361,
9 => 0,
)]
Error code: dmlwriteexception

Notice: Undefined property: stdClass::$eventtomonitor in htdocs/admin/tool/trigger/classes/workflow_process.php on line 200

How to fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions