• voledi

    (@voledi)


    Hello. We have been using this plugin on our site however the latest release (version 1.9.11) is causing conflicts with some functionality on our site relating to viewing and downloading pdf files.

    Is there somewhere I can access the previous version (1.9.9)? I’ve tried rollback plugins but no joy there. Also looked on your GitHub page but couldn’t see it, and couldn’t find it on your website either. It would be useful to have the last few stable versions available.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tumultinc

    (@tumultinc)

    Hi Voledi, Here is 1.9.9, but I don’t understand what on our end would have changed. I’d prefer to learn more about the issue you’re experiencing with viewing / downloading PDF files. Can you give me steps to reproduce? Do you have the shortcode setup to load your Hype document within a ‘div’ or within an ‘iframe’? You may experience issues with downloading pdf files if you are setting your Hype as an iframe, so please try as a div instead.

    Thread Starter voledi

    (@voledi)

    Thanks for the quick reply. Tried the 1.9.9 version from your GitHub page but get this error on trying to activate it after installing: “Fatal error: Cannot redeclare hypeanimations_init_lang() (previously declared in /home/customer/www/volunteeredinburgh.org.uk/public_html/wp-content/plugins/tumult-hype-animations/hypeanimations.php:16) in /home/customer/www/volunteeredinburgh.org.uk/public_html/wp-content/plugins/hype-wordpress-plugin-31035f55c07c0da38ea718da31d5057cdca78381/hypeanimations.php on line 15”

    As for the new version, I can’t leave this activated for you to recreate the error unfortunately since the pdf function it was interferring with is used regularly by my colleagues and our site visitors but I had tried loading in div but no change. Getting an error when clicking on the ‘Download PDF’ button on listed opportunities e.g. like this one: https://www.volunteeredinburgh.org.uk/volunteer/find-opportunities/kindness-volunteer-16573/

    This is the error: “Fatal error: Cannot redeclare generate_random_string() (previously declared in /home/customer/www/volunteeredinburgh.org.uk/public_html/wp-content/plugins/tumult-hype-animations/includes/adminpanel.php:805) in /home/customer/www/volunteeredinburgh.org.uk/public_html/wp-content/themes/volunteeredinburgh/functions/pdf-functions.php on line 90”

    This is the function the error above is referring to but I can’t see what would be causing this conflict:

    function generate_random_string($length = 50) {
    
        $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_';
        $charactersLength = strlen($characters);
        $randomString = '';
        for ($i = 0; $i < $length; $i++) {
            $randomString .= $characters[rand(0, $charactersLength - 1)];
        }
        return $randomString;
    
    }

    Any ideas?

    • This reply was modified 9 months ago by voledi.
    Thread Starter voledi

    (@voledi)

    Ignore the bit about activating the 1.9.9 version. This is now activated and the pdf issue no occuring with this version so definitely something about the new 1.9.11 that is causing a conflict. Ideally it would be good to be using the latest version of your plugin of course so if you have any ideas on what might be the problem that would be really appreciated. Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Previous Versions’ is closed to new replies.