Title: New content types contain errors
Last modified: January 3, 2025

---

# New content types contain errors

 *  Resolved [jeremyde](https://wordpress.org/support/users/jeremyde/)
 * (@jeremyde)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/new-content-types-contain-errors/)
 * 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:
   2206Stack 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnew-content-types-contain-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [jeremyde](https://wordpress.org/support/users/jeremyde/)
 * (@jeremyde)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/new-content-types-contain-errors/#post-18224204)
 * 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](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [1 year, 5 months ago](https://wordpress.org/support/topic/new-content-types-contain-errors/#post-18224260)
 * 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](https://wordpress.org/support/users/jeremyde/)
 * (@jeremyde)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/new-content-types-contain-errors/#post-18225093)
 * 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
 * ![](https://wordpress.org/cca4d441-0339-4b64-9579-64ad354d045b)
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [1 year, 5 months ago](https://wordpress.org/support/topic/new-content-types-contain-errors/#post-18226748)
 * 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.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/new-content-types-contain-errors/#post-18226748)
 * Status: resolved