-
Hey there,
I’ve been in contact with both HB Themes and my hosting company, when I try to edit with the visual editor I return what my computer is saying is a “fatal error”. The error picture was attached in a comment I made yesterday, but I have received an update from my hosting company and they say that permissions are indeed correct.
“Hello,
I can confirm the file/folder permissions are correct, and can also provide you with a list of files/folders along with their permissions to give them if needed. The error being returned, is due to the same function being defined twice, which has no bearing on file/folder permissions. This is seen in the code as follows:
[root@gator3037 ~]# grep -Hm3 layerslider /home4/teehalz/public_html/prowoodbats.com/wp-content/plugins/LayerSlider/wp/shortcodes.php
/home4/teehalz/public_html/prowoodbats.com/wp-content/plugins/LayerSlider/wp/shortcodes.php:add_shortcode(“layerslider”,”layerslider_init”);
/home4/teehalz/public_html/prowoodbats.com/wp-content/plugins/LayerSlider/wp/shortcodes.php:function layerslider_init($atts) {
/home4/teehalz/public_html/prowoodbats.com/wp-content/plugins/LayerSlider/wp/shortcodes.php:function layerslider($id = 0, $page = ”) {
[root@gator3037 ~]#Please provide them the following as reference to using add_shortcode:
http://codex.wordpress.org/Function_Reference/add_shortcode – “Note that the function called by the shortcode should never produce output of any kind. Shortcode functions should return the text that is to be used to replace the shortcode.”
To my understanding, the layerslider shortcode, will basically return layerslider_init and nothing else, which is later being redefined through ‘function layerslider’, and causing the error you are seeing. Changing file/folder permissions will not alter/fix function redeclarations. Please have them revise their code.”
Thank you,
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,686
- Aegaeus WP Theme 1,616
- Requests and Feedback 133