Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter whiteoutstudio

    (@whiteoutstudio)

    I created the post type “news” and as you can see in the start page, that one news has the specific “test-a”-term assigned.
    How am I able to change that, as I added the condition, that it just shows me post types from “News”?

    Thread Starter whiteoutstudio

    (@whiteoutstudio)

    Hey Michael,

    thanks for your answer. Sometimes it just takes some time to see the error and I found it. Thank you very much for your input!
    So everything is displayed correctly and WordPress doesn’t crash anymore!
    Now I am having this issue: When I click on one category with the card, I will always get noticed, that there are no news with this “Category”.
    As you can see in this page,https://vc.whiteoutstudio.com/ news are visible and when you click on one chip (eg. Test a), it opens the (correct) archive-link with a no result message (that I implemented)
    Is there anything I forgot to check?

    Thread Starter whiteoutstudio

    (@whiteoutstudio)

    Hey Michael,

    that’s the message I have in my debug-file, is that helpful in any way for you?
    Thanks ??

    [18-May-2022 12:59:28 UTC] PHP Fatal error:  Uncaught Error: Object of class WP_Error could not be converted to string in /home/www/vc/wp-includes/kses.php:1729
    Stack trace:
    #0 /home/www/vc/wp-includes/kses.php(1729): preg_replace('/[\\x00-\\x08\\x0B...', '', Object(WP_Error))
    #1 /home/www/vc/wp-includes/kses.php(767): wp_kses_no_null(Object(WP_Error), Array)
    #2 /home/www/vc/wp-includes/kses.php(2150): wp_kses(Object(WP_Error), 'post')
    #3 /home/www/vc/wp-content/plugins/elementor-pro/modules/dynamic-tags/tags/post-terms.php(108): wp_kses_post(Object(WP_Error))
    #4 /home/www/vc/wp-content/plugins/elementor/core/dynamic-tags/tag.php(35): ElementorPro\Modules\DynamicTags\Tags\Post_Terms->render()
    #5 /home/www/vc/wp-content/plugins/elementor/core/dynamic-tags/manager.php(216): Elementor\Core\DynamicTags\Tag->get_content()
    #6 [internal function]: Elementor\Core\DynamicTags\Manager->get_tag_data_content('647739d', 'post-terms', Array)
    #7 /home/www/vc/wp-content/plugins/elementor/core/dynamic-tags/manager.php(109): call_user_func_array(Array, Array)
    #8 /home/ww in /home/www/vc/wp-includes/kses.php on line 1729
    [18-May-2022 13:01:26 UTC] PHP Fatal error:  Uncaught Error: Object of class WP_Error could not be converted to string in /home/www/vc/wp-includes/kses.php:1729
    Stack trace:
    #0 /home/www/vc/wp-includes/kses.php(1729): preg_replace('/[\\x00-\\x08\\x0B...', '', Object(WP_Error))
    #1 /home/www/vc/wp-includes/kses.php(767): wp_kses_no_null(Object(WP_Error), Array)
    #2 /home/www/vc/wp-includes/kses.php(2150): wp_kses(Object(WP_Error), 'post')
    #3 /home/www/vc/wp-content/plugins/elementor-pro/modules/dynamic-tags/tags/post-terms.php(108): wp_kses_post(Object(WP_Error))
    #4 /home/www/vc/wp-content/plugins/elementor/core/dynamic-tags/tag.php(35): ElementorPro\Modules\DynamicTags\Tags\Post_Terms->render()
    #5 /home/www/vc/wp-content/plugins/elementor/core/dynamic-tags/manager.php(216): Elementor\Core\DynamicTags\Tag->get_content()
    #6 [internal function]: Elementor\Core\DynamicTags\Manager->get_tag_data_content('647739d', 'post-terms', Array)
    #7 /home/www/vc/wp-content/plugins/elementor/core/dynamic-tags/manager.php(109): call_user_func_array(Array, Array)
    #8 /home/ww in /home/www/vc/wp-includes/kses.php on line 1729
    Thread Starter whiteoutstudio

    (@whiteoutstudio)

    Hey Michael,
    Thanks for helping me. I try to explain myself a little bit more detailed:
    We created the CPT ?News“ and all those news are visible here: https://vc.whiteoutstudio.com/news/
    We wanted to add specific categories explicitly for news, that’s why we created the taxonomy-element ?news“ (not the cleverest name but never mind).
    Within this taxonomy, we created the ?news news“ ?Anwendungen“ oder ?unternehmen“ for example and we added them to a specific news-article.
    After testing, we wanted to create another taxonomy that would be called ?news-category“, so the naming is more obvious and we deleted the complete taxonomy ?news“.
    That’s when the pages, that should display the CPT ?News“, crash. This goes for the state page and for the news page itself.
    When I recreate the taxonomy ?news“, everything works perfectly fine again.
    My question is: why is this crashing and why do we need the taxonomy?
    For now, I deleted the taxonomy, so you can have a look to the page.

    Thank you!

    Thread Starter whiteoutstudio

    (@whiteoutstudio)

    I already did so and emailing worked. Than I went back and it does not work

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