Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The decimal comma (most likely caused by a server setting) will be changed to a point in the next version automaticly.

    But, you have a much worse problem on the new site: a looping forever js error:
    TypeError: m.easing[this.easing] is not a function

    This is not caused by wppa, but it prevents the correct working of wppa.

    Also there is an error:
    Invalid argument supplied for foreach() in <b>/home/checkin/public_html/wp-content/plugins/fb-recent-comments-widget/include/hz-fb.class.ph> on line 144

    Fix these errors first!
    Deactivate plugins ( in any case fb-recent-comments-widget and report them this error ) until the slideshow works again. The comma in stead of a point should not prevent the slideshow from working.

    And… this error:
    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    from something called ‘whiteabel’ from inside your theme.

    Also: Be VERY carefull with Yoast optimizer, most of the time it does more damage than good.

    Also…

    This piece of code is inbetween the <head> and <body> sections of the page, a phenomenon i have never seen before…:

    </head>
    <!-- Custom Javascript -->
    <script type="text/javascript">
    // SJJ 20160511: Because wrapper are fixed size 1280px, the viewport are smaller on an ipad (2014px).
    if( /iPad/i.test(navigator.userAgent) ) {
     jQuery('meta[name=viewport]').attr('content','width=device-width, initial-scale=0.625, user-scalable=yes');
    }
    
    // SJJ 20160330: Move Job list into the content field on mobile
    jQuery(window).resize(function() {
      if (jQuery(window).width() <= 767) {
        jQuery(".content #categort-posts-widget-3").css("display","block");
        jQuery("#categort-posts-widget-3").appendTo("#text-html-widget-10");
      } else {
        jQuery(".content #categort-posts-widget-3").css("display","none");
      }
    });
    </script>
    <body id="top" class="page page-id-1332 page-template-default">

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You really may expect many more problems because your decimal seperator is a comma in stead of a point.

    In PHP:
    echo ( ’20’ / ‘100’ ); displays: ‘0,20’
    while it should display: ‘0.20’;
    ALSO for systems in countries where the decimal separator is a comma.

    Maybe your theme should correct the decimal locale after setting the general locale like this example:

    <?php
    setlocale(LC_ALL, "dk_DK");
    setlocale(LC_NUMERIC, 'C');
    ?>
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Blank Slideshow’ is closed to new replies.