Sorry for late answer, could you please provide more info, like output of php -v And check for loaded extension, probably there is some php misconfiguration.
Hello, After the update, Cache:clear fails with [RuntimeException] merge() expects a normalized config array. I am assuming it means that it does not like a config file. How do I find out which one?
Fascinating! I've never heard of this - I think you stumbled upon an edge case in Symfony's config system that probably doesn't quite work as well as it should. Here's an issue about it: https://github.com/symfony/symfony/issues/17436
So, ideally you can work around it by, for example, setting cafile: null or something similar in your main config.yml... but that could have side effects. If you can't find a work around - let me know - there is always a work around ;).
Fatal error: Uncaught TypeError: Return value of Doctrine\Common\Annotations\AnnotationRegistry::registerLoader() must be an instance of Doctrine\Common\Annotations\void, none returned in /home/ywoume/www/upgrade/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php on line 117
i have this error then i upgrade to symfony 2.8 when i do : composer update symfony/symfony --with-dependencies , when the vendor is installed i have this error when i refresh my broswer
Hmm, interesting, which version of `doctrine-bundle` are you using? Try using 1.6 And make sure you are really running in PHP 7.1, that error is related to PHP 7.0
Cheers
Please, log in to vote for this comment
|
Share Comment
"Houston: no signs of life" Start the conversation!
13 Comments
Hello,
I am getting this first error. I am trying to update my current symfony app 2.6 to 2.8 (dont judge me! lol)
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
Cannot load Zend OPcache - it was already loaded
Hi Christopher M.
Which php version do you use and have you enabled opcache extension?
Cheers!
I am currently using php 7.1 and I don’t think I have enable opcache extension
Hey Christopher M.
Sorry for late answer, could you please provide more info, like output of
php -vAnd check for loaded extension, probably there is some php misconfiguration.
Cheers!
I was able to move from that error, but i am not getting this.
symfony FatalThrowableError in app_dev.php line 25:
Hey Christopher M.
I left you some questions in your other thread
Hello, After the update, Cache:clear fails with [RuntimeException] merge() expects a normalized config array. I am assuming it means that it does not like a config file. How do I find out which one?
So I found the culprit. For swiftmailer my config.yml has this:
swiftmailer:
Hey Skylar!
Fascinating! I've never heard of this - I think you stumbled upon an edge case in Symfony's config system that probably doesn't quite work as well as it should. Here's an issue about it: https://github.com/symfony/symfony/issues/17436
So basically, this usually works - the keys are all merged together just fine. The difference is that, for most of the config keys, there is a Configuration file that determines literally every valid key that is allowed - https://github.com/symfony/swiftmailer-bundle/blob/master/DependencyInjection/Configuration.php. However, this
sslkey is a bit special - you're allowed to pass any array with any keys you want - https://github.com/symfony/swiftmailer-bundle/blob/a9b8d20b86eda7c52f6b8b5c2f7877dec9f013e4/DependencyInjection/Configuration.php#L103-L105 - and when you have THAT situation... apparently the arrays cannot be merged unless they all have the same keys. I know - super weird.So, ideally you can work around it by, for example, setting
cafile: nullor something similar in your main config.yml... but that could have side effects. If you can't find a work around - let me know - there is always a work around ;).Cheers!
Fatal error: Uncaught TypeError: Return value of Doctrine\Common\Annotations\AnnotationRegistry::registerLoader() must be an instance of Doctrine\Common\Annotations\void, none returned in /home/ywoume/www/upgrade/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php on line 117
i use php7.1
Hey Rajaona F.
Could you tell us more information about that error.
What were you doing when it ocurred?
Cheers!
i have this error then i upgrade to symfony 2.8 when i do : composer update symfony/symfony --with-dependencies , when the vendor is installed i have this error when i refresh my broswer
Hmm, interesting, which version of `doctrine-bundle` are you using? Try using 1.6
And make sure you are really running in PHP 7.1, that error is related to PHP 7.0
Cheers
"Houston: no signs of life"
Start the conversation!