• Resolved nickkirlew

    (@nickkirlew)


    Hello Folks,

    A new Azure Bitnami build July 2024. If I go to a category link (only one produves the error – community alerts) or If I use the search block in Menu (look for a word not on the site) I get the below error.

    I have tried:

    Drop all Plugins

    Swap theme

    If I swap out of the Twenty Twenty series the error is gone, but of course I would like to stick with Twenty Twenty Four, thanks in advance.

    WordPress 6.5.5 running Twenty Twenty-Four theme.

    root@vmPlanWebSite:/home/nick# /opt/bitnami/php/bin/php -ver
    PHP 8.2.20 (cli) (built: Jun 6 2024 16:07:19) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.2.20, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.20, Copyright (c), by Zend Technologies

    [proxy_fcgi:error] [pid 17045:tid 140063203468992] [client 101.173.24.155:53571] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /opt/bitnami/wordpress/wp-includes/formatting.php:3507\nStack trace:\n#0 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(324): convert_smilies()\n#1 /opt/bitnami/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#2 /opt/bitnami/wordpress/wp-includes/formatting.php(3992): apply_filters()\n#3 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(324): wp_trim_excerpt()\n#4 /opt/bitnami/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#5 /opt/bitnami/wordpress/wp-includes/post-template.php(434): apply_filters()\n#6 /opt/bitnami/wordpress/wp-includes/blocks/post-excerpt.php(28): get_the_excerpt()\n#7 /opt/bitnami/wordpress/wp-includes/class-wp-block.php(463): render_block_core_post_excerpt()\n#8 /opt/bitnami/wordpress/wp-includes/class-wp-block.php(443): WP_Block->render()\n#9 /opt/bitnami/wordpress/wp-includes/class-wp-block.php(443): WP_Block->render()\n#10 /…’, referer: https://planinc.org.au/recentposts/

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator jordesign

    (@jordesign)

    Hi @nickkirlew given that is happening only on a single category page – it makes me wonder if it is one of the posts in the category that contains content that is causing the error.

    From WP-Admin > Posts – are you able to open (in the front end) each of the posts in the category – and see if any of them fail with the fatal error?

    Thread Starter nickkirlew

    (@nickkirlew)

    Hello @jordesign,

    Thanks for the update, I believe you have the answer, there were 55 articles and it took me 15 to find a “broken” article.

    Once I took that article out of the category, no more issue. I will next test the search.

    Regards

    Nick

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.