Announcement

Collapse
No announcement yet.

Zend Errors upgrading from 5.9.4 -

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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






  • #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.

    Comment


    • #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.

      Comment


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

        Comment

        Working...
        X