Recent changes on entryPoint.php or autoloader or etc/container.php or newer version of UltraLite?

Hello,

We used to have a community tool called Toothpaste that did a number of interesting things (count records, clean BPM records, give a distribution by month of BPM record growth, repair the system, undelete records etc).

The repository is here: https://github.com/esimonetti/toothpaste

Unfortunately with version 12 or 13, it stopped working. When I went to use it for an engagement I have with a customer, it did not work.

It gives the following error:

[16-Aug-2023 04:43:26 GMT] PHP Fatal error: Declaration of UltraLite\Container\Container::has(string $serviceId) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /var/www/html/sugar/vendor/ultra-lite/container/src/UltraLite/Container/Container.php on line 81
[16-Aug-2023 04:43:26 GMT] PHP Fatal error: Uncaught Error: Class "UltraLite\Container\Container" not found in /var/www/html/sugar/etc/container.php:86
Stack trace:
#0 /var/www/html/sugar/src/DependencyInjection/Container.php(32): require()
#1 /var/www/html/sugar/include/utils.php(3428): Sugarcrm\Sugarcrm\DependencyInjection\Container::getInstance()
#2 [internal function]: sugar_cleanup()
#3 {main}
thrown in /var/www/html/sugar/etc/container.php on line 86

Someone else encountered the issue back in March as we can see here: 

https://github.com/esimonetti/toothpaste/pull/8

The issue appears to happen when the script requires the entryPoint.php

Can someone help us understand what we should change to get it to work again, and get the community and myself going again?

Cheers!

Parents Reply Children
No Data