All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Issues with Matrix in Low Variables

Rowan Sentesy 26 Jun 2020 00:45 problem, complete

I haven't found any results when searching this, so hopefully someone here can help me.
I'm upgrading a site, and working with:
Expressionengine 5.3.2
Low Variables 3.3.1
Matrix 3.2.5

When I create a Matrix field (or look at an existing variable with a Matrix), I am unable to access the Settings 'gear' icon beside the low variable. This is an issue! If I move the matrix field to another group, then the problem is fixed. I have isolated it enough to see that Matrix & LV are not playing nice in this configuration.

Any insights would be most appreciated!

Thanks,
Rowan
Hop Studios

Replies

  1. Low 26 Jun 2020 13:06

    Looks like Matrix is throwing a spanner in the works with the JS loader. Have you asked EEharbor about this?

  2. Rowan Sentesy 26 Jun 2020 17:18

    Hi low
    Yes I have a thread going with EE Harbour at the moment about this. I thought I would post here also just in case it was something on LV's end.
    I'm not sure what a 'spanner' is, but I am waiting to hear back from them.
    Do you have a way to confirm this issue on your end with the same versions of EE and addons?
    Thanks for your reply
    Rowan

  3. Rowan Sentesy 29 Jun 2020 17:12

    Hey Low,
    Checking in on this, I haven't heard anything back from EEHarbour yet, and was wondering if you had a chance to test and/or replicate this issue with the software versions mentioned earlier?
    thanks
    rowan

  4. Low 30 Jun 2020 08:43

    I can see this happening with the version of Matrix I have on file, and addressed it to Tom at EEharbor. He's confirmed they're looking into it. Looks like it's a Matrix issue, not a LV one.

  5. Rowan Sentesy 30 Jun 2020 23:55

    From EE Harbour:

    -----
    Good morning, and thanks for all the setup.

    I’m hoping it turns out it wasn’t necessary. Yuri took a look at what I think is the same issue yesterday and I believe he has a fix. Can you try this- in mcp.low_variables.php find

    ee()->cp->load_package_css

    It’s around line 2392 in the code I’m looking at.

    Add this just before that load_package call:

    ee()->load->add_package_path(PATH_THIRD . 'low_variables');

    Fingers crossed, that will fix it. Let me know how it shakes out.

    Robin Sowell || Development Liaison
    -----

    >>> This fixed the JS issue when editing variables in the EE CP.

    I hope this helps you with your next release.

    Rowan

  6. Low 1 Jul 2020 07:07

    Thanks Rowan. If I recall correctly, adding the package path will actually cause other issues (the whole thing has been wonky for a while now). Will do some testing of my own before adding a fix.