• Resolved raha1988ab

    (@raha1988ab)


    Hello

    I got this error, and the error file is around 170MB

    [21-Mar-2024 08:16:50 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home/raha.ab.site/public_html/wp-includes/media.php on line 795
    [21-Mar-2024 08:16:50 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home/raha.ab.site/public_html/wp-includes/media.php on line 801
    [21-Mar-2024 08:17:06 UTC] PHP Warning:  Array to string conversion in /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 590
    [21-Mar-2024 08:17:07 UTC] PHP Fatal error:  Uncaught TypeError: Illegal offset type in /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1519
    Stack trace:
    #0 /home/raha.ab.site/public_html/wp-includes/class-wp-hook.php(324): woocommerce_catalog_ordering('')
    #1 /home/raha.ab.site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /home/raha.ab.site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/raha.ab.site/public_html/wp-content/themes/woodmart/woocommerce/archive-product.php(91): do_action('woocommerce_bef...')
    #4 /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/raha.ab.site/...')
    #5 /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php(22): wc_get_template('archive-product...')
    #6 /home/raha.ab.site/public_html/wp-includes/template-loader.php(106): include('/home/raha.ab.site/...')
    #7 /home/raha.ab.site/public_html/wp-blog-header.php(19): require_once('/home/raha.ab.site/...')
    #8 /home/raha.ab.site/public_html/index.php(17): require('/home/raha.ab.site/...')
    #9 {main}
      thrown in /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1519
    [21-Mar-2024 08:17:30 UTC] PHP Warning:  Array to string conversion in /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 590
    [21-Mar-2024 08:17:32 UTC] PHP Fatal error:  Uncaught TypeError: Illegal offset type in /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1519
    Stack trace:
    #0 /home/raha.ab.site/public_html/wp-includes/class-wp-hook.php(324): woocommerce_catalog_ordering('')
    #1 /home/raha.ab.site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /home/raha.ab.site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/raha.ab.site/public_html/wp-content/themes/woodmart/woocommerce/archive-product.php(91): do_action('woocommerce_bef...')
    #4 /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/raha.ab.site/...')
    #5 /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php(22): wc_get_template('archive-product...')
    #6 /home/raha.ab.site/public_html/wp-includes/template-loader.php(106): include('/home/raha.ab.site/...')
    #7 /home/raha.ab.site/public_html/wp-blog-header.php(19): require_once('/home/raha.ab.site/...')
    #8 /home/raha.ab.site/public_html/index.php(17): require('/home/raha.ab.site/...')
    #9 {main}
      thrown in /home/raha.ab.site/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1519

    I couldn’t find why lines 795 and 801 give me an error

    Also want to solve the rest of errors.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error: Uncaught TypeError: Illegal offset type’ is closed to new replies.