Closed gurunathanrs closed 1 month ago
Hi Team,
Do you have any update on this?
Hello, gurunathanrs. Could you please provide a bit more information about the issue? Do you use the latest version of the toolkit (it's 3.3.1 right now)? What version of php do you use? And did you manually install any of the required packages specified in the composer.json, like 'psr/cache'?
As a temporal solution try to use a previous stable version 3.2, like so:
composer require -W 'alexacrm/dynamics-webapi-toolkit:3.2'
Also just got this issue after updating. Was working fine before I had to do a composer re-install of everything which gave the newest version and I got the same issue. PHP 8.3.3.
Hi mrudov,
I tried to downgrade by using the composer command you said. But i face conflict with psr/log. existing version of psr/log is 3.0.0. But dynamics-webapi-toolkit 3.2.0 requires psr/log ^1.0 || ^2.0.
How to resolve?
Please try to update to the latest version 3.3.2, it should resolve the issue.
composer require -W 'alexacrm/dynamics-webapi-toolkit:^3.3.2'
You can also try to remove the toolkit and reinstall it from scratch.
If the issue is still persist please try to use a development version, but note it's still a work in progress:
composer require -W 'alexacrm/dynamics-webapi-toolkit:v4.x-dev'
I downgraded to 3.3.0 and it's working fine. But the original issue with the latest version still exists. We will check it later.
Declaration of AlexaCRM\Cache\NullCacheItem::get() must be compatible with Psr\Cache\CacheItemInterface::get(): mixed in /vendor/alexacrm/dynamics-webapi-toolkit/src/Cache/NullCacheItem.php on line 69
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior.
Expected behavior A clear and concise description of what you expected to happen.
Additional context Add any other context about the problem here.