Restaurant attachments not being able to move since wordpress 5.1.1

This topic contains 11 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #476607

    Jim Cibelli
    Expired Member
    Post count: 98

    Hi,

    Whenever we update the site to wordpress version 5.1.1 we are unable to move the restaurant attachments in the order we want to. We thought this might be a problem with gutenburg but the issue seems to steam from something in Geodirectory

    #476612

    Kor
    Moderator
    Post count: 16516

    Hi Jim Cibelli,

    Thanks for your post. Could you share your Website WP admin access here in private so that we could check on it?

    #476637

    Jim Cibelli
    Expired Member
    Post count: 98
    This reply has been marked as private.
    #476724

    Alex Rollin
    Moderator
    Post count: 27815

    Hi David!

    That’s really WEIRD, and we haven’t seen that particular issue.
    Please update the site to to problematic version (on a staging site if needed) and send over the URL and FTP information and we will happily look into it.

    #476781

    Jim Cibelli
    Expired Member
    Post count: 98
    This reply has been marked as private.
    #476811

    Jim Cibelli
    Expired Member
    Post count: 98

    It’s not on a staging site so be careful

    #476827

    Kor
    Moderator
    Post count: 16516

    Hi Jim Cibelli,

    Thanks for your reply. We’ve forwarded this to a developer and he will look into this asap!

    #476935

    Jim Cibelli
    Expired Member
    Post count: 98

    I see this error whenever we activate a plugin on the site could it be related?

    The site is a muti-site and geodirectory is active on each individual site but not in the network admin

    #477042

    Jim Cibelli
    Expired Member
    Post count: 98

    Now I cannot add a logo as hitting Select File does nothing

    I cannot delete an image or re-order the logos

    Plus the hours of operation, while I can enter hours, I cannot use the drop downs.

    Here are a few more issues that we found looking at the site today.

    #477048

    Jim Cibelli
    Expired Member
    Post count: 98

    I also did a test where I deleted all the code in our functions file and it fixed all the issues but I’m still not sure where the problem is

    #477067

    Jim Cibelli
    Expired Member
    Post count: 98

    I found the issue

    There was this code in our functions.php file

    //Defers Javascript
    
    function defer_parsing_of_js($url)
    {
        $st = microtime(true);
    
        if (false === strpos($url, '.js')) {
            vrc_log_elapsed_time($st, __FUNCTION__);
            return $url;
        }
    
        if (strpos($url, 'jquery.js')) {
            vrc_log_elapsed_time($st, __FUNCTION__);
            return $url;
        }
    
        vrc_log_elapsed_time($st, __FUNCTION__);
        return "$url' defer='defer";
    }
    add_filter('clean_url', 'defer_parsing_of_js', 11, 1);

    Looks like the last developer tried deferring the JS and for some reason it effected the site negatively when WordPress was updated to version 5.1.1 but not on version 4.9.10

    #477068

    Alex Rollin
    Moderator
    Post count: 27815

    So this is resolved?

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket