Twig_Environment::addExtension() error after Symfony / Sylius Update - sylius

after update from sylius 1.0.1 to 1.2.9 and composer update i get the following error:
FatalThrowableError
HTTP 500 Internal Server Error
Type error: Argument 1 passed to Twig_Environment::addExtension() must implement interface Twig_ExtensionInterface, boolean given, called in /Users/xxx/var/cache/dev/ContainerXxfh21q/appDevDebugProjectContainer.php on line 4293
Is there any idea?
Thanks
TELLO

Its a bug introduced with symfony 3.4.16
https://github.com/symfony/symfony/issues/28657
They are looking in to it.

Related

Lcobucci\JWT\Parser is not instantiable while building LaravelPassport AccessTokenController after upgrading to Passport 10 Lcobucci JWT4.1

Just upgraded to Laravel 8 / Laravel Passport 10.1 and Locbucci JWT 4.1. I'm getting this error:
Target [Lcobucci\JWT\Parser] is not instantiable while building [Laravel\Passport\Http\Controllers\AccessTokenController]
This error makes sense since Parser is an interface, if I remove it from the AccessTokenController everything works as expected. As far as I can tell these packages should work together. Am I missing something here?
This is an error caused by the version of Laravel/passport, to solve this problem you must update to a new version of the package
execute this command, good luck
composer update laravel/passport

TYPO3 v10.4.20 Class not found

I upgraded TYPO3 from v9.5.31 to v10.4.20 Backend works well but the Frontend I have the following error
(1/1) Error
Class 'TYPO3\CMS\Extbase\Service\FlexFormService' not found
Does anyone know why TYPO3 does not recognize the class?
Thanks

PHP Fatal error: Uncaught Error: Class 'Phalcon\\Db' not found. for Phalcon 4

I am currently upgrading version PHP 5 to PHP 7. And Phalcon 1 to Phalcon 4.
my all existing API gives error.
Fatal error: Uncaught Error: Class 'Phalcon\Db' not found.
I have found that use Phalcon\Db\Enum instead of Phalcon\Db.
but I want to use Phalcon\Db. Is there any way to use?
Please help me as because of this I have made many changes in my project.
As per phalcon's docs for phalcon4.0 you will have to use ENUM
https://docs.phalcon.io/4.0/en/api/phalcon_db
You can use phalcon3.4 in case if you want to use Phalcon/Db
https://docs.phalcon.io/3.4/en/api/phalcon_db

Error while upgrading sensu puppet module: Invalid parameter prefetch on sensu_rabbitmq_config

I'm trying to upgrade the sensu-puppet module and im getting an error when i run puppet now: the error is:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter prefetch on Sensurabbitmqconfig[<(hostname
is here, removed for this post on ask puppet)>] at
/etc/puppet/environments/staging/modules/sensu/manifests/rabbitmq/config.pp:123
Warning: Not using cache on failed catalog Error: Could not retrieve
catalog; skipping run
I have no idea what's going wrong or how to fix it. I looked in the pathway at the rabbitmq config and found this:
prefetch => $sensu::rabbitmq_prefetch
But I'm not sure what the issue is. Anyone know what might be causing this?
Where did you get the puppet module and what way?
Did you use puppet module install or a git pull?
Make sure sure that the parameter you want to use is in
modules/sensu/lib/puppet/provider/sensu_rabbitmq_config/json.rb
and also
modules/sensu/lib/puppet/type/sensu_rabbitmq_config.rb

Getting error "E01020031091 Failed in GetNextTool() - - Invalid operation - Major-Index: Out of range." on Okuma machine

I am running this on an Okuma control but on the second line of the following code, I get the error:
Dim MagPos As New DataAPI.CATC
localstring = MagPos.GetNextTool
THINC API is installed for sure because some other API functions work.
It sounds like you may have an older version of the machine API because that error happens when a function is not supported.
Major-Index: Out of range
Check with Okuma and see what the latest version is and they'll have to give you the install to update it.