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

(Cache) Warning strtolower() expects parameter 1 to be string

    Details

      Description

      strtolower() expects parameter 1 to be string, array given in /var/www/apache2php53/ezp/vendor/tedivm/stash/src/Stash/Item.php on line 525

      steps to reproduce:
      1 - log in "admin2" with admin
      2 - active debug output
      3 - click on "Media Library" link
      4 - click on "Images" link
      5 - click on "Create New"
      6 - click on "Images"
      7 - fill form with any text
      8 - upload any image
      9 - click on "Send for publish"
      10- Verify on debug redirect the warning

        Activity

        Hide
        Jérôme Vieilledent (Inactive) added a comment -

        Might be indirectly fixed by EZP-20595. Can you please try with this patch ?
        Thanks

        Show
        Jérôme Vieilledent (Inactive) added a comment - Might be indirectly fixed by EZP-20595 . Can you please try with this patch ? Thanks
        Hide
        Paulo Nunes (Inactive) added a comment - - edited

        @Jerome:

        tried the patch from ezp-20595 and seems to solve the strtolower() warning, but still persists the

        Warning: PHP: E_WARNING 	Mar 20 2013 17:09:15
         
        Invalid argument supplied for foreach() in /var/www/ezp50/ezpublish_testsystem/.run/kernel/classes/ezcontentcache.php on line 292
        

        Show
        Paulo Nunes (Inactive) added a comment - - edited @Jerome: tried the patch from ezp-20595 and seems to solve the strtolower() warning, but still persists the Warning: PHP: E_WARNING Mar 20 2013 17:09:15   Invalid argument supplied for foreach() in /var/www/ezp50/ezpublish_testsystem/.run/kernel/classes/ezcontentcache.php on line 292
        Show
        Jérôme Vieilledent (Inactive) added a comment - Paulo Nunes : Should be fixed by https://github.com/ezsystems/ezpublish-kernel/commit/0e361de9d81d5edd6c173e1cfc40ed67ffbdc8d2 then . Can you confirm ?
        Hide
        Paulo Nunes (Inactive) added a comment - - edited

        Jerome Vieilledent: yes, seems to fix. With the provided patch, the last warning no longer appear.

        Show
        Paulo Nunes (Inactive) added a comment - - edited Jerome Vieilledent: yes, seems to fix. With the provided patch, the last warning no longer appear.
        Hide
        Paulo Nunes (Inactive) added a comment -

        The issue no longer occur.
        QA Approved.

        Show
        Paulo Nunes (Inactive) added a comment - The issue no longer occur. QA Approved.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcos Loureiro (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 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 - 2 hours
              2h