Jump to content

Strange Selector Issue upgrading from (PHP 7.4 & 3.0.194) to (PHP 8 & 3.0.231 dev)


update AG
 Share

Recommended Posts

Hi @kongondo

We are in the process of upgrading a website which is using MM version v.0.1.2. After upgrading somehow the "All" section doesn't return any media anymore.
image.thumb.png.fc346f1b22cef4f9431d07eed097ce22.png

I figured it out, that it was because of the following part in the selector media_manager_audio|media_manager_document|media_manager_image|media_manager_video!='' which is using the OR-Operator in the MM Fields.
I have changed the code in MediaManagerUtilities.php to use OR-Groups for the MM Fields instead and now it works again.
568636792_Bildschirmfoto2023-12-06um16_32_50.thumb.png.948370e8668489997c4e36f07296a008.png1144712673_Bildschirmfoto2023-12-06um16_45_50.thumb.png.0002c9ca0c2c10a439ce0c93d29196ed.png

Do you perhaps have an Idea what could cause the OR-Operator to fail for the mm fields here? Since it looks like it is working for the templates?

KR
Orkun

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...