Zend Errors upgrading from 5.9.4 -

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Clintre
    Junior Member
    • Sep 2016
    • 29

    Zend Errors upgrading from 5.9.4 -

    Ran the upgrade, via the command line and had the same error occurring over and over.

    Here is a snippet of it...

    Warning: Invalid callback Espo\Core\Log\Handler\EspoRotatingFileHandler::cus tomErrorHandler, cannot access private method Espo\Core\Log\Handler\EspoRotatingFileHandler::cus tomErrorHandler() in /srv/users/<removed>/apps/trteam/public/espo-test/application/Espo/Core/Utils/File/Manager.php on line 265
    PHP Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /srv/users/<removed>/apps/trteam/public/espo-test/application/Espo/Core/Utils/File/Manager.php on line 265

    Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /srv/users/<removed>/apps/trteam/public/espo-test/application/Espo/Core/Utils/File/Manager.php on line 265
    PHP Warning: Invalid callback Espo\Core\Log\Handler\EspoRotatingFileHandler::cus tomErrorHandler, cannot access private method Espo\Core\Log\Handler\EspoRotatingFileHandler::cus tomErrorHandler() in /srv/users/<removed>/apps/trteam/public/espo-test/application/Espo/Core/Utils/File/Manager.php on line 265


    After the update, the system would no longer load. We performed this on a cloned environment first.

    Had no problems prior to update.
    Tried the rebuild.php as well.

    Environment is...

    Nginx/Apache PHP-FPM 7.4





  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Here is the place where an error occurs: https://github.com/espocrm/espocrm/b...nager.php#L265

    IT seems that you have some problem with opcache. We used `@` operator to skip an error handling on this function call. But this operator is not allowed in PHP 8.0 so we removed it.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      Try this fix https://github.com/espocrm/espocrm/c...690a0218710ec9 (you can replace the whole file). Please let me know if it worked out.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • Clintre
        Junior Member
        • Sep 2016
        • 29

        #4
        Sorry slow to get back. I will check it out and thanks for the information!

        Comment

        Working...