Doctrine2 Update Caused AnnotationRegistry registerLoader Error in Zend Framework 3

前端 未结 5 1466
无人及你
无人及你 2021-01-01 22:47

I\'m working on a CMS based on Zend Framework 3.0 to manage a DB I with Doctrine. What is my problem when managing packages with composer? Recently, I updated all the packag

5条回答
  •  盖世英雄少女心
    2021-01-01 23:16

    Make sure your newest PHP version is running. Sometimes when you check PHP version using php -v it shows the latest installed version but the older one in running. If you installed a new version of PHP, just remove older versions:

    apt purge php7.0 php7.0-common
    

    Having same issue, after checking lots of thing, my problem solved by removing older version.

提交回复
热议问题