Forum Replies Created

Viewing 15 replies - 1 through 15 (of 55 total)
  • Thread Starter David

    (@alovinggoodbye)

    Ok I just figured it out. And it’s my fault ofcourse. But I wanted to leave the update.

    I had the following line in my CSS

    /*prevents the site from overscrolling*/
    @media only screen and (min-width: 768px){
    body {
    height: 100%;
    overflow: auto;
    }

    I had to use this line because my site was having a problem with overscrolling on desktop. BUT, I had a missing “}” at the end of the line which for some reason blocked all of my CSS work on mobile. Totally my fault. I had no idea a missing “}” could create such havoc!

    David

    (@alovinggoodbye)

    Looks like everything is fixed on my end.

    Thread Starter David

    (@alovinggoodbye)

    Hell yeah mine is working now too. I just checked. Thank god because I was being f*cked with free shipping for some of our customers. Of course they took full advantage lol.

    Anyway, yes mine is working as well and I am very happy.

    David

    (@alovinggoodbye)

    Just dropping my hat in the ring because I am too getting this error after an update. I didn’t even notice it until now. I hope this gets fixed quickly.

    Thread Starter David

    (@alovinggoodbye)

    You my hero! Works fantastic Thank you for your help!!

    Thread Starter David

    (@alovinggoodbye)

    Hey man!

    Yes, it happens immediately when you click the Apple Button. I don’t have any custom fields I just double checked. So I don’t know what’s causing that notice.

    What I did find out is that it wants the customer to input all their information first, Address, email etc. So for some reason it wont let the customer check out with the button, it wants them to fill in all that information manually on the checkout form.

    Again, I know you are extremely busy so I truly do appreciate your help.

    Thread Starter David

    (@alovinggoodbye)

    Hi @mrclayton

    Thank you I will look out for the changes on Thursday.

    The good news for me is the JQuery issue has nothing to do with the function of the site. The JQuery error alert is only shown when using a browser console. It is in reference to a Facebook script to share posts and this script is no longer needed any longer. The script was part of the theme that we are removing. So we are good to go there.

    I cleared my cache and browser cache and removed any plugins but the issue is that on checkout page for Express Checkout that is where the apple pay button when pressed says “Please fill out all required fields” The apple button works fantastically everywhere else. Just that Express Checkout spot.

    Just wanted to let you know. I know you are already really busy so thank you!

    Thread Starter David

    (@alovinggoodbye)

    It’s weird bc when I use the jquery-migrate-helper the are no current errors just “previously known”.

    But this fb-root error alert “Can’t find variable: jQuery” is only showing when I use a browser console like Chrome and Safari.

    Thread Starter David

    (@alovinggoodbye)

    I was told that the reason why I am getting the error Can't find variable: jQuery is because my those scripts are in the wrong order and he said to reorder the scripts to fix the error.

    Thread Starter David

    (@alovinggoodbye)

    I don’t know actually. I am just trying to figure it out and was given this solution. Again, I apologize I am just using a theme and haven’t made any changes myself so I do not know why it is working like this or how to fix it.

    Thread Starter David

    (@alovinggoodbye)

    I must apologize again. I’m a total newb when it comes to this and see that my scripts are in the wrong order.

    I need to change it from

    <script type='text/javascript' id='jquery-js-after'>
    if( !jQuery( 'body' ).find( '#fb-root' ) ){
                    jQuery( 'body' ).append( '<div id="fb-root"></div>' );
                };
    </script>
    <script type='text/javascript' src='https://www.dailymutt.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp' id='jquery-core-js'></script>

    and change it to

    <script type='text/javascript' src='https://www.dailymutt.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp' id='jquery-core-js'></script>
    <script type='text/javascript' id='jquery-js-after'>
    if( !jQuery( 'body' ).find( '#fb-root' ) ){
                    jQuery( 'body' ).append( '<div id="fb-root"></div>' );
                };
    </script>

    I am however unsure on how to re-order scripts correctly. I am just trying to figure that out now. Thank you for your help throughout this string. I really appreciated your help Steven!

    Thread Starter David

    (@alovinggoodbye)

    @sterndata Sorry for another comment. The only error I am seeing now is

    Can’t find variable: jQuery

    <script type='text/javascript' id='jquery-js-after'>
    if( !jQuery( 'body' ).find( '#fb-root' ) ){
    				jQuery( 'body' ).append( '<div id="fb-root"></div>' );
    			};
    </script>

    I have scoured the internet and for some reason I cannot figure out what I am doing wrong. I can only see this error while using a browser console to see any error messages. The jquery-migrate-helper doesn’t show anything about this error, it only shows on a browser console like Chrome and Safari.

    Thread Starter David

    (@alovinggoodbye)

    @sterndata Thank you for responding!

    So I activated The Migrate Helper and it shows there are 4 notices. But they are in the “Previously logged deprecation notices” column. I have two questions.
    1) Does that mean they are no longer an issue ?

    2) The second column does have the following alert
    https://www.dailymutt.com/wp-content/plugins/zombify/assets/js/admin/zombify_yoast.js: jQuery.fn.load() is deprecated
    So does that mean this is the only current error?

    I disabled the plugin Zombify and the alert is no longer there but unfortunately it is part of the functionality of the theme. I am at a loss on what to do. I submitted a ticket because that plugin Zombify is made by the theme developer as well. I am hoping they have some guidance for me.

    Thank you for your help! I really appreciate it.

    • This reply was modified 5 years, 7 months ago by David.
    • This reply was modified 5 years, 7 months ago by David.
    • This reply was modified 5 years, 7 months ago by David.
    Thread Starter David

    (@alovinggoodbye)

    You are amazing man! Thank you so much!

    One other issue with the same apply pay button I just noticed is an error when pressed saying “Please fill out all required fields.” This error is only shown on the top express apple pay button.

    The apply pay buttons at the bottom of checkout are working perfect.

    • This reply was modified 5 years, 7 months ago by David.
    Thread Starter David

    (@alovinggoodbye)

    They are appearing in the express checkout section at the top of checkout page only.

Viewing 15 replies - 1 through 15 (of 55 total)