Jan 2022 Update

dkutz5's Avatar

dkutz5

05 Jan, 2022 11:17 PM

Hi -
New Royal Slide in a WP install auto updated this morning - 1/5/2022. It comprehensively crashed. Multiple JS errors in developer console, server side caching completely crashed. Fortunately had a version of the plugin before the update. Can't find any log of what was changed ... but ugh.

What's up with this update?
D

  1. Support Staff 1 Posted by Dmytro Semenov on 06 Jan, 2022 11:38 AM

    Dmytro Semenov's Avatar

    Hi,

    Haven't had any reports and the update went smoothly for me. Changes are listed in changelog.

    Do you happen to recall what exactly errors were shown for you? Possibly something left in your PHP errors log?

  2. 2 Posted by dkutz5 on 06 Jan, 2022 10:08 PM

    dkutz5's Avatar

    Hello Dmitry,

    Thanks for getting back to me.

    I unfortunately did not retain the JS errors ... as I recall, royal slider
    stuff not loading and RS mem_cache file errors.

    But I can tell ya it caused a lot of havoc.

    However, I can report the following.
    This is regarding the homepage slide show at the top of:
    https://www.sohophoto.com/ -- WP stand alone site; DIVI theme
    We were using WP V. 3.4.1
    A year or so ago, we wanted to modify how the caption looks. I know I
    should have built a custom skin, but to get it done quickly, I modified the
    CSS in: skins/default/rs-default.css and skins/universal/rs-universal.css
    ...
    I knew if there was an update this modified code would get blown-out.

    After the update to 3.4.2 I went back into the above noted CSS files and
    made the identical modifications. But, they didn't work and we got these
    JS errors.

    The site os hosted by Siteground and we use the Siteground WP Optimization
    Plugin with virtually all the caching options turned on. Ditto with all
    available caching in their server tools. I spent nearly 2-hours with one
    of their techs in a chat. Ultimately after turning off all aspects of
    caching both on the server and in WP ... it cleared and worked ... and then
    crashed again with a slew of JS error messages.

    For the save of time, I fortunately still had a copy of V. 3.4.1. I
    replaced the new version with the older version, turned all caching back on
    ... and it worked fine. That is what is currently running on the site.

    I use royal slider on my website, too ... at: https://davidkutz.com/
    (that's how I got the older version, since it hadn't updated on my site yet
    and has the identical CSS modifications) ... My site is also served by
    Siteground and is built with the Astra-Pro Theme, different than
    sohophoto. this site also has all optimization and caching turned on ...
    All good. I could go through the exercise of updating my site ... and
    seeing if it crashes and file another report, if you think it would help
    you.

    We also have a small tweak in the Edit Slider Mark-Up ... which is
    currently:
    <div class="rsContent">
      {{image_tag}}
      {{thumbnail}}
      {{html}}
      {{animated_blocks}}
      {{#link_url}}
      <a class="rsLink" href="{{link_url}}">{{title}}</a>
      {{/link_url}}
      <div class="rsCaption">
        <h3>{{title}}</h3>
      </div>
    </div>

    *FINALLY* --- on both sites noted: https://davidkutz.com/ and
    https://www.sohophoto.com/ ... on a moblie screen, the RS presentation
    crops the bottom of the picture ... by a lot. *Any suggestions on how to
    fix that??*

    Let me know if you can.

    *THANKS!*
    David Kutz
    Brooklyn, NY
    718-499-1987
    www.davidkutz.com
    @dkutzpics

  3. Support Staff 3 Posted by Dmytro Semenov on 07 Jan, 2022 06:27 AM

    Dmytro Semenov's Avatar

    on a moblie screen, the RS presentation crops the bottom of the picture ... by a lot. Any suggestions on how to fix that??

    It crops the bottom of the picture because the caption overlaps it and it's opaque.

    You may add such code to your functions.php (or to some code snippet addon):

    function royalslider_move_caption_outside() {
        ?>
        $('.royalSlider').each(function() {
            //  instance of single slider
            var sliderEl = $(this);
            var captionEl = sliderEl.find('.rsGCaption');
            if (captionEl && captionEl.length) {
              sliderEl.find('.rsOverflow').after( captionEl );
    
              // optional, you may define this via CSS
              captionEl.css('position', 'relative');
              captionEl.css('float', 'left');
            }
        });
        <?php
    }
    add_action('new_rs_after_js_init_code', 'royalslider_move_caption_outside');
    

    It'll move the caption between the main sliding area and dot navigation.

    http://help.dimsemenov.com/kb/wordpress-royalslider-advanced/wp-whe...

  4. 4 Posted by lee day on 07 Jan, 2022 10:16 AM

    lee day's Avatar

    Dimitry
    Thanks, that looks helpful. I’ll give it a try when I get back.
    Lee

  5. 5 Posted by lee day on 07 Jan, 2022 11:51 AM

    lee day's Avatar

    Dimitry,
    Worked like a charm.
    Thanks,
    Lee

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac