Emo extra errors: could not load class

I have the emo extra installed on a site which throws those two errors on every page load (as it is included in every page).

/core/xpdo/xpdo.class.php : 644) Could not load class: EmoPlugin from emoplugin.
/core/xpdo/xpdo.class.php : 644) Could not load class: EmoOnLoadWebDocument from emoonloadwebdocument.

It used to work fine in the past, might this be a MODX version issue?

MODX 2.8.3-pl
emo 1.8.9-pl

Was this emo extra updated from an older version?

It seems to me that there is some mixture between two versions. The code tries to load classes that no longer exist (e.g. EmoOnLoadWebDocument has been renamed in newer versions).

Maybe try deleting the extra completely and then reinstalling it.

You’re right! And that is because I had a custom plugin adaption for emo running which obviously broke after the emo update. Thanks for reminding me (kind of).

The resolver normally removes the old plugin. If you created an own one, that’s not detected for a reason.

1 Like

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.