Solution for LayerSlider problems Support Forums › Support Forums › Goodnex WordPress Theme › Solution for LayerSlider problems Tagged: Goodnex LayerSlider problem This topic contains 1 reply, has 2 voices, and was last updated by jack 1 year, 8 months ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts June 26, 2017 at 1:46 pm #16224 Exclusive-ITParticipant Hi guys, Today I installed this theme and noticed, after importing the demo data, that the homepage wasn’t working. After enabling WP_DEBUG in wp-config.php I noticed there were fatal errors in the LayerSlider plugin which seems not to be updated for the latest version of PHP. Since the creator is not releasing an update so far, I decided to fix it myself until a new update is released. Just edit the following two files: public_html/wp-content/plugins/LayerSlider/includes/slider_markup_html.php paste this code in the above file: https://gist.github.com/anonymous/2c1059a8049cc3d5a7fe898da3046fcf public_html/wp-content/plugins/LayerSlider/includes/slider_markup_init.php paste this code in the above file: https://gist.github.com/anonymous/7f7f44767e7981fc422798e1ae639b84 The problem with these is that the code is trying to add elements to an array variable that is declared as a string, or at least not explicitly as an array.. with the code linked above it is all fixed and working as it should. Just thought I’d share this. June 26, 2017 at 6:19 pm #16226 jackModerator Hi there, thank you for sharing your solution, we greatly appreciate it. Regards, Jack Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The forum ‘Goodnex WordPress Theme’ is closed to new topics and replies.