Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP warning in task manager email #44761

Closed
jjnxpct opened this issue Jan 21, 2025 · 3 comments
Closed

PHP warning in task manager email #44761

jjnxpct opened this issue Jan 21, 2025 · 3 comments

Comments

@jjnxpct
Copy link

jjnxpct commented Jan 21, 2025

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 { …}
  }
}

@alikon
Copy link
Contributor

alikon commented Jan 26, 2025

which tasks ?

@jjnxpct
Copy link
Author

jjnxpct commented Jan 26, 2025

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.

@jjnxpct
Copy link
Author

jjnxpct commented Jan 28, 2025

I have not seen any more of these errors. I will close this issue.

@jjnxpct jjnxpct closed this as completed Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants