-
AuthorPosts
-
October 16, 2023 at 1:05 pm #1422655
Dear Kriesis,
Since today a big problem with the LayerSlider has appeared. We are running different websites with Enfold and LayerSlider plugin and it blocks the creation of new posts and pages in the backend at all these installations. The LayerSlider metabox shows this error message:Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /kunden/674919_10117/webseiten/landingpages/wp-content/plugins/LayerSlider/assets/wp/templates.php:76Stack trace: #0 /kunden/674919_10117/webseiten/landingpages/wp-content/plugins/LayerSlider/assets/wp/templates.php(76): in_array() #1 /kunden/674919_10117/webseiten/landingpages/wp-admin/includes/template.php(1443): LS_CustomPageTemplates->render_meta_box() #2 /kunden/674919_10117/webseiten/landingpages/wp-admin/edit-form-advanced.php(681): do_meta_boxes() #3 /kunden/674919_10117/webseiten/landingpages/wp-admin/post-new.php(75): require(‘…’) #4 {main} thrown in /kunden/674919_10117/webseiten/landingpages/wp-content/plugins/LayerSlider/assets/wp/templates.php on line 76
After disabling the plugin everything works normal but this is not the solution. Existing posts are editable and for a quick solution we are creating new posts with DuplicatePost.
What to do? Waiting for a theme or plugin update?
Best regards
AnneOctober 16, 2023 at 4:39 pm #1422673Hi Anne,
LayerSlider is bundled with the theme, it’s not a separate plugin. If you are running a separate plugin version of LayerSlider, then please deactivate the bundled version under Enfold->Layout Builder->Integrated (Bundled) LayerSlider Plugin.
Best regards,
RikardOctober 16, 2023 at 5:05 pm #1422677Hi Rikard,
Yes, we are using the separate plugin version of Layerslider.
I tryed these options:
1. “Original LayerSlider Plugin is used” and “Individually set all otions in Layerslider options” > add new post is blocked
2. “Original LayerSlider Plugin is used” and “Use Enfolds default settings (recommended)” > add new post is blocked
3. “Remove theme plugin files and slides “and “Individually set all otions in Layerslider options” > add new post is blocked
Shall I remove the bundled plugin files in the enfold folder via ftp? Were do I find them?Best regards
AnneOctober 17, 2023 at 6:13 am #1422748Hi,
Thank you for the inquiry.
In the Enfold > Layout Builder panel, you have to set the Integrated (Bundled) LayerSlider Plugin to the second option (Deactivate but leave plugin files in folder) or completely remove the default layer slider folder using the third option.
Best regards,
IsmaelOctober 17, 2023 at 11:15 am #1422774Hello Ismael,
thank you for the info. The three options in the panel are a bit confusing and I thought “Original slider plugin is used” meant the separate plugin.
The problem appeared due to a major LayerSlider plugin update on October 12th and was solved after the following update yesterday.
Thank you for your patience and you can close the topic.
Best regards
AnneOctober 17, 2023 at 2:17 pm #1422802Hi,
Great, I’m glad that you got things working. We’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘LayerSlider blocks post backend’ is closed to new replies.