I have setup up some tasks in the task manager. I received the PHP warning below this in an email. I am not sure what task or process causes this warning. But maybe someone can 'read' this better than I can and determine if this is a bug or some other issue?
Joomla 5.2.3
PHP 8.3.14
cli/joomla.php scheduler:run --all --quiet
+++++++
PHP Warning: foreach() argument must be of type array|object, int given in /home/[USER]/domains/[DOMAIN]/public_html/libraries/namespacemap.php on line 108
Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#466
#message: """
Attempted to load class "Compat" from namespace "Joomla\Plugin\Behaviour\Compat\Extension".\n
Did you forget a "use" statement for another namespace?
"""
#code: 0
#file: "./domains/[DOMAIN]/public_html/plugins/behaviour/compat/services/provider.php"
#line: 38
trace: {
./domains/[DOMAIN]/public_html/plugins/behaviour/compat/services/provider.php:38 {
Joomla\DI\ServiceProviderInterface@anonymous\x00/home/[USER]/domains/[DOMAIN]/public_html/plugins/behaviour/compat/services/provider.php:21$6a->{closure}
›
› $plugin = new Compat($dispatcher, (array) $plugin);
› $plugin->setApplication(Factory::getApplication());
}
./domains/[DOMAIN]/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:172 { …}
./domains/[DOMAIN]/public_html/libraries/vendor/joomla/di/src/Container.php:95 { …}
./domains/[DOMAIN]/public_html/libraries/src/Extension/ExtensionManagerTrait.php:177 { …}
./domains/[DOMAIN]/public_html/libraries/src/Extension/ExtensionManagerTrait.php:99 { …}
./domains/[DOMAIN]/public_html/libraries/src/Plugin/PluginHelper.php:232 { …}
./domains/[DOMAIN]/public_html/libraries/src/Plugin/PluginHelper.php:192 { …}
./domains/[DOMAIN]/public_html/libraries/src/Application/ConsoleApplication.php:251 { …}
./domains/[DOMAIN]/public_html/cli/joomla.php:77 { …}
}
}
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
Would you believe I deleted the email and changed the domain name in this issue and now I am not sure what site this was on???
I will check the cron emails in the next couple of days and when a similar issue reappears I will post the tasks of that site here. If not i probably was a onetime thing.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-01-28 09:02:49 |
Closed_By | ⇒ | jjnxpct |
I have not seen any more of these errors. I will close this issue.
which tasks ?