Sourcerer is not working with Joomla 4.1.3

Search
Other Bug Reports questions
Forum

Sourcerer is not working with Joomla 4.1.3

Robin Köhler's Avatar Robin Köhler
Hi,
I updated joomla from 3 to 4 and installed the latest Sourcerer plugin. When the plugin is active I get this error:
0
Class 'JDispatcher' not found

Call stack
# Function Location
1 () JROOT/tmp/regularlabs/27808_0d1708bed7ce61b0eb5149170da4a130:14
2 regularlabs_php_24c581caa2c46b91d1af5b341e1fceb9() JROOT/libraries/regularlabs/src/Php.php:48
3 RegularLabs\Library\Php::execute() JROOT/plugins/system/sourcerer/src/Replace.php:587
4 RegularLabs\Plugin\System\Sourcerer\Replace::replaceTagsPHP() JROOT/plugins/system/sourcerer/src/Replace.php:360
5 RegularLabs\Plugin\System\Sourcerer\Replace::replaceTagsByType() JROOT/plugins/system/sourcerer/src/Replace.php:245

I have already done that:
Removing Plugin and this folders:
/libraries/regularlabs
/plugins/system/regularlabs
/plugins/system/articlesanywhere
/plugins/system/sourcerer

Clear every cache.
Reinstall plugin - same error.
I use Yootheme Pro as template.

Any idea?
Thanks Robin
Peter van Westen's Avatar Peter van Westen ADMIN
The error suggests that it is not down to Sourcerer itself, but down to your custom code you are placing through Sourcerer.

So you will need to update your custom code so that it works with Joomla 4.
Please post a rating at the Joomla! Extensions Directory
Robin Köhler's Avatar Robin Köhler
Hi Peter,
your right 🙂
Thanks for your help.

regards Robin
You can only post on this forum if you log in