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

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

  • Avatar: jhen
    Jhen
    Participant
    August 26, 2025 at 06:06

    i view product show error in Private content

    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.2/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.2/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.2/wp-includes/template-loader.php(106): include(‘/srv/htdocs/wp-…’) #11 /wordpress/core/6.8.2/wp-blog-header.php(19): require_once(‘/wordpress/core…’) #12 /wordpress/core/6.8.2/index.php(17): require(‘/wordpress/core…’) #13 {main} thrown in /srv/htdocs/wp-content/themes/royal/woocommerce/content-product-slider.php on line 192

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 26, 2025 at 09:13

    Hello, Jhen,

    Unfortunately, FTP access is currently not working, and editing via the WP File Manager plugin is also not possible at the moment.

    Best regards,
    The 8Theme Team

    Avatar: jhen
    Jhen
    Participant
    August 26, 2025 at 12:57

    pls try new password

    thanks

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 26, 2025 at 14:03

    Thank you for providing access. We have resolved the reported issue – please check on your end to confirm. Additionally, the fix will be included in the next theme update.

    Best regards,
    The 8Theme Team

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

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

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