badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

NEWSCARD PREMIUM CAUSING FATAL PHP ERROR

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105683
    jspwl
    Participant

    Problem with convert smilies function and newscard premium.

    PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php:3466
    Stack trace:
    #0 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp-hook.php(308): convert_smilies()
    #1 /usr/local/lsws/Example/html/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php(3928): apply_filters()
    #3 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp-hook.php(308): wp_trim_excerpt()
    #4 /usr/local/lsws/Example/html/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #5 /usr/local/lsws/Example/html/wordpress/wp-includes/post-template.php(431): apply_filters()
    #6 /usr/local/lsws/Example/html/wordpress/wp-content/themes/newscard-pro/template-parts/content.php(79): get_the_excerpt()
    #7 /usr/local/lsws/Example/html/wordpress/wp-includes/template.php(785): require(‘…’)
    #8 /usr/local/lsws/Example/html/wordpress/wp-includes/template.php(718): load_template()
    #9 /usr/local/lsws/Example/html/wordpress/wp-includes/general-template.php(204): locate_template()
    #10 /usr/local/lsws/Example/html/wordpress/wp-content/themes/newscard-pro/archive.php(32): get_template_part()
    #11 /usr/local/lsws/Example/html/wordpress/wp-includes/template-loader.php(106): include(‘…’)
    #12 /usr/local/lsws/Example/html/wordpress/wp-blog-header.php(19): require_once(‘…’)
    #13 /usr/local/lsws/Example/html/wordpress/index.php(17): require(‘…’)
    #14 {main}
    thrown in /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php on line 3466

    #105757

    Hi there,

    Those functions are from WP core, Hence deactivate the plugin one by one and check.
    There may be some plugin conflicts.

    Thank you!

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