Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20580

Adding a new language in admin interface generates php errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.1-dev
    • Component/s: None
    • Labels:
      None
    • Environment:

      RHEL 6.4
      PHP 5.3.3
      Mysql 5.1.61

      Description

      If you add a new language in admin interface you'll get the following error's in debug

      Error: PHP: E_RECOVERABLE_ERROR 	Mar 18 2013 11:52:11
      
      Argument 1 passed to eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger::languages() must be an array, integer given in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/PersistenceCachePurger.php on line 177
      
      Warning: PHP: E_WARNING 	Mar 18 2013 11:52:11
      
      Invalid argument supplied for foreach() in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/PersistenceCachePurger.php on line 182
      

      Steps to reproduce
      1. Login to admin interface
      2. Open setup -> languages
      3. Add a new language
      4. Verify debug output

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Joao.Pingo@ez.no Joao Pingo (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h