Jump to content

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

update AG

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.

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.

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?


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

  • Recently Browsing   0 members

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