Thanks!
Unfortunately, I'm on shared hosting and cannot use SSH/CLI, so the
xf-addon:sync-json
command is unavailable to me.
I'm hitting a fundamental issue with listener registration.
Goal: Register an
entity_structure
listener for the
XF:Post
entity.
The
addon.json
and
Listener.php
files are confirmed to be structurally correct on disk. My
Listener.php
contains a
die('TEST');
command for debugging.
When I submit a reply, the
die()
command does not execute, and the post is successful. The listener is simply not running.
I checked the core table: the
xf_code_event_listener
table is completely empty for my add-on, even though the add-on is successfully installed. I've clicked "rebuild" and "sync" many times.
Given that the files are correct but the listener entry never makes it into the database, what is the most likely culprit?
View attachment 328161