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

3 replies2 participantsUpdated by Andrew Mitchell

  • Avatar: jhen
    Jhen
    Participant

    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

    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

    pls try new password

    thanks

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    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

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register