PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array

This topic has 8 replies, 2 voices, and was last updated 1 weeks, 4 days ago ago by Andrew Mitchell

  • Avatar: jhen
    Jhen
    Participant
    July 11, 2025 at 09:07

    PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, bool given in /srv/htdocs/wp-content/themes/royal/woocommerce/content-product-slider.php:192 Stack trace: #0 /wordpress/core/6.8.1/wp-includes/template.php(812): require() #1 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(285): load_template(‘/srv/htdocs/wp-…’, false) #2 /srv/htdocs/wp-content/themes/royal/framework/theme-functions.php(2731): wc_get_template_part(‘content’, ‘product-slider’) #3 /srv/htdocs/wp-content/themes/royal/woocommerce/single-product/up-sells.php(43): etheme_create_slider(Array, Array) #4 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include(‘/srv/htdocs/wp-…’) #5 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2355): wc_get_template(‘single-product/…’, Array) #6 /srv/htdocs/wp-content/themes/royal/woocommerce/content-single-product.php(210): woocommerce_upsell_display() #7 /wordpress/core/6.8.1/wp-includes/template.php(812): require(‘/srv/htdocs/wp-…’) #8 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(285): load_template(‘/srv/htdocs/wp-…’, false) #9 /srv/htdocs/wp-content/themes/royal/woocommerce/single-product.php(33): wc_get_template_part(‘content’, ‘single-product’) #10 /wordpress/core/6.8.1/wp-includes/template-loader.php(106): include(‘/srv/htdocs/wp-…’) #11 /wordpress/core/6.8.1/wp-blog-header.php(19): require_once(‘/wordpress/core…’) #12 /wordpress/core/6.8.1/index.php(17): require(‘/wordpress/core…’) #13 {main} thrown in /srv/htdocs/wp-content/themes/royal/woocommerce/content-product-slider.php on line 192

    7 Answers
    Avatar: jhen
    Jhen
    Participant
    July 11, 2025 at 09:13

    PLS HELP FIX

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 14, 2025 at 12:01

    Hello, Jhen,

    Unfortunately, the FTP credentials you provided are not working. We are encountering the following error message:
    “Connection timed out after 20 seconds of inactivity.”

    We kindly ask you to review the access details and provide updated credentials at your earliest convenience.

    Best regards,
    The 8Theme Team

    Avatar: jhen
    Jhen
    Participant
    July 14, 2025 at 12:06

    pls try again thanks

    get new problem

    https://s.dejavu.studio/v/o8JjhZ

    the search hard to use can not use

    pls check ,too

    Content is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 14, 2025 at 12:29

    Thank you for providing the FTP access. We have resolved the issue related to sizeof(). Kindly check and confirm that everything is working as expected. Please note that these changes will also be included in the next theme update.

    Best regards,
    The 8Theme Team

    Avatar: jhen
    Jhen
    Participant
    July 14, 2025 at 12:32

    how about search problem ,or it is ok ?

    Avatar: jhen
    Jhen
    Participant
    July 14, 2025 at 12:32

    thanks for fix all work now

    how about search problem ,or it is ok ?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 14, 2025 at 12:38

    Yes, the search functionality should now be working as expected.

    Best regards,
    The 8Theme Team

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.