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.