• Resolved jeremyde

    (@jeremyde)


    I have created the content type “Courses” with an older version, which does not show any errors. Now I have created a new content type “pura-vida” with the Custom Post Type UI version 1.17.2, with identical settings. This can also be used to create “pura-vida” items. If I create a page in which I filter the corresponding content, the page is only partially displayed, even filtering with “Courses” does not show the error. In debug mode I get the following error message:

    [02-Jan-2025 23:34:08 UTC] PHP Warning: Undefined array key “uncode_m_m_angebote” in /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/vc_templates/uncode_index.php on line 2099
    [02-Jan-2025 23:34:08 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/vc_templates/uncode_index.php:2206
    Stack trace: 0 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(448): require() 1 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(421): WPBakeryShortCode->loadTemplate() 2 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(545): WPBakeryShortCode->content() 3 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1372): WPBakeryShortCode->output() 4 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-includes/shortcodes.php(434): vc_do_shortcode() 5 [internal function]: do_shortcode_tag() 6 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-includes/shortcodes.php(273): preg_replace_callback() 7 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode() 8 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/vc_templates/vc_column.php(982): uncode_remove_p_tag() 9 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(448): require(‘…’) 10 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(421): WPBakeryShortCode->loadTemplate() 11 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(545): WPBakeryShortCode->content() 12 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1372): WPBakeryShortCode->output() 13 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-includes/shortcodes.php(434): vc_do_shortcode() 14 [internal function]: do_shortcode_tag() 15 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-includes/shortcodes.php(273): preg_replace_callback() 16 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode() 17 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/vc_templates/vc_row.php(1481): uncode_remove_p_tag() 18 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(448): require(‘…’) 19 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-core/includes/vc_extend/modules/row/extend.php(19): WPBakeryShortCode->loadTemplate() 20 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(545): uncode_row->content() 21 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1372): WPBakeryShortCode->output() 22 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-includes/shortcodes.php(434): vc_do_shortcode() 23 [internal function]: do_shortcode_tag() 24 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-includes/shortcodes.php(273): preg_replace_callback() 25 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode() 26 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/page.php(634): uncode_remove_p_tag() 27 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-includes/template-loader.php(106): include(‘…’) 28 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-blog-header.php(19): require_once(‘…’) 29 /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/index.php(17): require(‘…’) 30 {main}

    thrown in /mnt/web106/e3/47/5510747/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/uncode/vc_templates/uncode_index.php on line 2206

    What can I do? Is this a known bug?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jeremyde

    (@jeremyde)

    Sorry in this bug-log I used an identicall new content type, called “uncode_m_m_angebote”. The behavior was identical.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Honestly not sure what to recommend here as all the error logs point to the uncode theme/plugin pair more than anything we have control over. If they have support channels, it’d be worth reaching out there.

    Thread Starter jeremyde

    (@jeremyde)

    It is also strange that the entries of the new content type “pura-vida” are offered to me under Design–> Menus, but that older content types are not offered to me

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I still suspect the Uncode folks will know more here. We don’t know anything about their products and there’s no sort of direct integration with them.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘New content types contain errors’ is closed to new replies.