Upgrade 5.5.6 to 5.6.0 Error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frinksdev
    Junior Member
    • Jan 2019
    • 4

    Upgrade 5.5.6 to 5.6.0 Error 500

    i can not access to espo, and got this log

    [02-Apr-2019 18:27:21 UTC] PHP Catchable fatal error: Argument 1 passed to Espo\Core\Container::get() must be an instance of Espo\Core\string, string given, called in /home/eteslamx/crm.etesla.mx/application/Espo/Core/Application.php on line 48 and defined in /home/eteslamx/crm.etesla.mx/application/Espo/Core/Container.php on line 41
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    try to debug it to get more info. In your browser press F12, then switch to the 'network' tab, call the error again, and check if there appear red records. This is an error. Also, check the errors in the 'console' tab.

    Comment

    • hamilton
      Junior Member
      • Jul 2018
      • 16

      #3
      Hi,
      I have the same problem with CRON after update.

      "Catchable fatal error: Argument 1 passed to Espo\Core\Container::get() must be an instance of Espo\Core\string, string given, called in /home2/xxx/public_html/yyy/application/Espo/Core/Application.php on line 48 and defined in /home2/xxx/public_html/yyy/application/Espo/Core/Container.php on line 41"

      Could someone help?
      Regards,
      Hamilton

      Comment

      • fragonik
        Junior Member
        • Oct 2019
        • 1

        #4
        I had the same problem and I found that the upgrade process was changing the .htaccess file deleting the lines selecting PHP7.1...
        This way after the upgrade proccess my subdomain was falling back to PHP5.6 and the espo wasnt working...

        I manualy edited .htaccess puting back the deleted lines and the problem solved...

        in my case the deleted lines in .htaccess was the following:
        ---
        # BEGIN cPanel-generated php ini directives, do not edit
        # Manual editing of this file may result in unexpected behavior.
        # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
        # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
        <IfModule php5_module>
        php_flag asp_tags Off
        php_flag display_errors Off
        php_value max_execution_time 180
        php_value max_input_time 180
        php_value max_input_vars 1000
        php_value memory_limit 512M
        php_value post_max_size 20M
        php_value session.gc_maxlifetime 1440
        php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
        php_value upload_max_filesize 20M
        php_flag zlib.output_compression Off
        </IfModule>
        # END cPanel-generated php ini directives, do not edit

        LimitRequestBody 0

        # php -- BEGIN cPanel-generated handler, do not edit
        # Set the “ea-php71” package as the default “PHP” programming language.
        <IfModule mime_module>
        AddHandler application/x-httpd-ea-php71 .php .php7 .phtml
        </IfModule>
        # php -- END cPanel-generated handler, do not edit

        Comment


        • Maximus
          Maximus commented
          Editing a comment
          Hello,
          The previous files that were replaced with new are stored in the data/.backup/upgrades/some_id_number/files.
          We suggest you create and use a virtual host. You can set all these custom configs there.
      Working...