• Resolved Scott Bowler

    (@scottybowl2)


    Here’s a TEMPORARY fix to make it work – don’t ask why this works, it just does (haven’t got the time to look further into the issue as it seems to be a problem in scripts.min.js and as the code is minified it makes it difficult to debug):

    Open up class?meauh?attachment.php (contained in /wp-content/plugins/my-eyes-are-up-here/includes) and go to line 224, look for the following line of code:

    $button .= '<div class="preview-wrap"><img src="' . $src[0] . '?v=' . time() . '" alt="' . $size . '" data-size="' . $size . '"></div>';

    and replace it with:

    $button .= '<script></script><div class="preview-wrap"><img src="' . $src[0] . '?v=' . time() . '" alt="' . $size . '" data-size="' . $size . '"></div>';

    Adding the script tags seems to fix the issue (probably by causing a selector in the javascript file to no longer trigger).

    Note to plugin owners: As part of the debugging I notice the URL is malformed when loading the images in upload.php – these URLs are only malformed when MEAUP is enabled.

    https://www.ads-software.com/plugins/my-eyes-are-up-here/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi scottybowl2,

    Thanks for the temporary fix.

    Could you please elaborate on the issue? I don’t see any errors throwing by javascript in my console.

    Cheers

    Hi scottybowl2,

    I’ve just released a new version where I fixed couple issues related to JQuery. Could you please update and check whether you are still having the issue?

    Thanks

    Thread Starter Scott Bowler

    (@scottybowl2)

    Thanks for the rapid response – still doesn’t seem to be working:

    If I go to wp-admin/upload.php and open the “Net” panel in Firebug I note all image thumbnails have the following malformed URL (note the domain appearing twice):

    https://www.mydomain.co.uk/wp-admin/%5C%22https:%5C/%5C/www.mydomain.co.uk%5C/wp-content%5C/uploads%5C/2016%5C/01%5C/Amtico-Spacia_Bronze-845x321.jpg?v=1461749691\%22

    This seems to cause a knock-on effect for all admin fuctionality.

    Weirdly adding the <script> tags as mentioned earlier stops this from happening.

    Thread Starter Scott Bowler

    (@scottybowl2)

    Just to add: If you email me on sbowler <<at>> mediafront.co.uk I can give you access so you can see what’s happening.

    Hi scottybowl2,

    Have you tried to clear the browser cache?

    Thread Starter Scott Bowler

    (@scottybowl2)

    After some very helpful support from Evgenii we’ve got to the bottom of this issue – seems there is a conflict with the “Admin Columns” plugin. I’ll raise a ticket with them.

    Thanks again for your help Evgenii, 5* support on a free plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘TEMPORARY FIX: 4.5.1’ is closed to new replies.