phalcon/cphalcon · error · EventNotCancelable
Trying to cancel a non-cancelable event
Error message
Trying to cancel a non-cancelable event
What it means
Error "Trying to cancel a non-cancelable event" thrown in phalcon/cphalcon.
Source
Thrown at phalcon/Events/Event.zep:166
{
let this->type = type;
return this;
}
/**
* Stops the event preventing propagation.
*
* ```php
* if ($event->isCancelable()) {
* $event->stop();
* }
* ```
*/
public function stop() -> <EventInterface>
{
if unlikely !this->cancelable {
throw new EventNotCancelable();
}
let this->stopped = true;
return this;
}
}
View on GitHub (pinned to b7419de9cd)
When it happens
Trigger: Thrown at phalcon/Events/Event.zep:166 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phalcon/cphalcon@b7419de9cd (2026-08-21).
Data as JSON: /api/errors/73c561108c280c88.
Report an issue: GitHub.