When trying to edit the page with Edit with Visual Composer, it shows a critical error. The following error is shown:
An error of type E_COMPILE_ERROR was caused in line 9 of the file /home/romanfountains/repo/www/wp-content/plugins/LayerSlider/assets/wp/shortcodes.php. Error message: Cannot redeclare layerslider() (previously declared in /home/romanfountains/repo/www/wp-content/plugins/LayerSlider/assets/wp/shortcodes.php:9)
Thank you for bringing this to our attention, and I'm really sorry to hear about the trouble you're experiencing. My name is John, and I'm happy to assist you. I sincerely appreciate your patience while we worked to get back to you.
This type of error definitely shouldn't occur. I've tested LayerSlider with both WPBakery Page Builder and Visual Composer. Please note that we don't have a license for Visual Composer, so while I could confirm basic functionality, I couldn't fully test the dedicated "Kreatura Slider" element that Visual Composer provides. That element is actually maintained by the Visual Composer team (not by us), so if the issue is related to that specific component, it may be worth reaching out to them as well.
In my tests, everything worked as expected, and I wasn't able to reproduce the error on my end.
To better assist you, could you please clarify a few details:
Which plugin and exact version are you using (WPBakery Page Builder vs. Visual Composer)
How are you trying to insert your slider? Are you using the dedicated Visual Composer element, the WordPress widget, or inserting a shortcode manually?
Any extra details will help us investigate this more quickly.
Thank you for your patience, and I look forward to your reply!
When trying to edit the page with Edit with Visual Composer, it shows a critical error. The following error is shown:
An error of type E_COMPILE_ERROR was caused in line 9 of the file
/home/romanfountains/repo/www/wp-content/plugins/LayerSlider/assets/wp/shortcodes.php.
Error message: Cannot redeclare layerslider() (previously declared in
/home/romanfountains/repo/www/wp-content/plugins/LayerSlider/assets/wp/shortcodes.php:9)
Hello,
Thank you for bringing this to our attention, and I'm really sorry to hear about the trouble you're experiencing. My name is John, and I'm happy to assist you. I sincerely appreciate your patience while we worked to get back to you.
Best Regards,
John | Kreatura Dev Team