dudaster / ele-custom-skin

Create a skin for Elementor Pro Post and Post Archive widgets using Elementor templates
GNU General Public License v3.0
59 stars 10 forks source link

Ele Custom Skin Pro causing fatal error #920

Open memjia opened 1 year ago

memjia commented 1 year ago

PHP Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given I'm reproducing the debug log in the hopes that you have an answer to this issue with PHP 8, ele custom skin pro and elementor.

[29-Sep-2023 19:50:23 UTC] PHP Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in /storage/v9988/coconutgrove-staging/public_html/wp-includes/blocks.php:841 Stack trace:

0 /storage/v9988/coconutgrove-staging/public_html/wp-includes/blocks.php(841): str_contains(Array, '<!--')

1 /storage/v9988/coconutgrove-staging/public_html/wp-includes/formatting.php(5209): filter_block_content(Array, 'post', Array)

2 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(310): wp_pre_kses_block_attributes(Array, 'post', Array)

3 /storage/v9988/coconutgrove-staging/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)

4 /storage/v9988/coconutgrove-staging/public_html/wp-includes/kses.php(946): apply_filters('pre_kses', Array, 'post', Array)

5 /storage/v9988/coconutgrove-staging/public_html/wp-includes/kses.php(754): wp_kses_hook(Array, 'post', Array)

6 /storage/v9988/coconutgrove-staging/public_html/wp-includes/kses.php(2157): wp_kses(Array, 'post')

7 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-text.php(85): wp_kses_post(Array)

8 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/tag.php(35): ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Text->render()

9 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(216): Elementor\Core\DynamicTags\Tag->get_content()

10 [internal function]: Elementor\Core\DynamicTags\Manager->get_tag_data_content('23c2e69', 'acf-text', Array)

11 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(109): call_user_func_array(Array, Array)

12 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(74): Elementor\Core\DynamicTags\Manager->parse_tag_text('[elementor-tag ...', Array, Array)

13 [internal function]: Elementor\Core\DynamicTags\Manager->Elementor\Core\DynamicTags{closure}(Array)

14 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(73): preg_replace_callback('/\[elementor-ta...', Object(Closure), '[elementor-tag ...')

15 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/controls/base-data.php(91): Elementor\Core\DynamicTags\Manager->parse_tags_text('[elementor-tag ...', Array, Array)

16 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1269): Elementor\Base_Data_Control->parse_tags('[elementor-tag ...', Array)

17 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1248): Elementor\Controls_Stack->parse_dynamic_settings(Array, Array, Array)

18 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1116): Elementor\Controls_Stack->parse_dynamic_settings(Array)

19 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/post.php(298): Elementor\Controls_Stack->get_parsed_dynamic_settings()

20 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php(32): Elementor\Core\Files\CSS\Post->render_styles(Object(ElementorPro\Modules\ThemeElements\Widgets\Post_Info))

21 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php(36): Elementor\Core\DynamicTags\Dynamic_CSS->render_styles(Object(ElementorPro\Modules\ThemeElements\Widgets\Post_Info))

22 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php(36): Elementor\Core\DynamicTags\Dynamic_CSS->render_styles(Object(Elementor\Element_Column))

23 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/post.php(178): Elementor\Core\DynamicTags\Dynamic_CSS->render_styles(Object(Elementor\Element_Section))

24 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/base.php(677): Elementor\Core\Files\CSS\Post->render_css()

25 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content()

26 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/base.php(130): Elementor\Core\Files\Base->update_file()

27 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/base.php(226): Elementor\Core\Files\CSS\Base->update()

28 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue()

29 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(488): Elementor\Core\Files\CSS\Post->enqueue()

30 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(310): Elementor\Core\DynamicTags\Manager->after_enqueue_post_css(Object(Elementor\Core\DynamicTags\Dynamic_CSS))

31 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)

32 /storage/v9988/coconutgrove-staging/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

33 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/base.php(273): do_action('elementor/css-f...', Object(Elementor\Core\Files\CSS\Post))

34 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue()

35 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/frontend.php(1155): Elementor\Core\Files\CSS\Post->enqueue()

36 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/frontend.php(1247): Elementor\Frontend->get_builder_content('1462', true)

37 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/ele-custom-skin/skins/skin-custom.php(273): Elementor\Frontend->get_builder_content_for_display('1462')

38 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/ele-custom-skin/skins/skin-custom.php(327): ElementorPro\Modules\Posts\Skins\Skin_Posts_ECS->get_template()

39 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/ele-custom-skin/skins/skin-custom.php(567): ElementorPro\Modules\Posts\Skins\Skin_Posts_ECS->render_post()

40 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/skin-base.php(79): ElementorPro\Modules\Posts\Skins\Skin_Posts_ECS->render()

41 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(607): Elementor\Skin_Base->render_by_mode()

42 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(733): Elementor\Widget_Base->render_content()

43 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Widget_Base->get_raw_data(true)

44 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Element_Base->get_raw_data(true)

45 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/base/document.php(1013): Elementor\Element_Base->get_raw_data(true)

46 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/base/document.php(679): Elementor\Core\Base\Document->get_elements_raw_data(Array, true)

47 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1010): Elementor\Core\Base\Document->get_initial_config()

48 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(33): Elementor\Controls_Stack->get_config()

49 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(76): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()

50 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/editor/editor.php(358): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->enqueue_scripts()

51 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(310): Elementor\Core\Editor\Editor->enqueue_scripts('')

52 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)

53 /storage/v9988/coconutgrove-staging/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

54 /storage/v9988/coconutgrove-staging/public_html/wp-includes/script-loader.php(2225): do_action('wp_enqueue_scri...')

55 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(310): wp_enqueue_scripts('')

56 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)

57 /storage/v9988/coconutgrove-staging/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

58 /storage/v9988/coconutgrove-staging/public_html/wp-includes/general-template.php(3053): do_action('wp_head')

59 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head()

60 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(110): include('/storage/v9988/...')

61 /storage/v9988/coconutgrove-staging/public_html/wp-content/plugins/elementor/core/editor/editor.php(163): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->print_root_template()

62 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(310): Elementor\Core\Editor\Editor->init('')

63 /storage/v9988/coconutgrove-staging/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)

64 /storage/v9988/coconutgrove-staging/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

65 /storage/v9988/coconutgrove-staging/public_html/wp-admin/admin.php(419): do_action('admin_action_el...')

66 /storage/v9988/coconutgrove-staging/public_html/wp-admin/post.php(12): require_once('/storage/v9988/...')

67 {main}

thrown in /storage/v9988/coconutgrove-staging/public_html/wp-includes/blocks.php on line 841

If you need login credentials please send me DM access.