Follow us on
  1. Hello,

    I'm using the latest Route theme and the latest WordPress (5.3.2) and I am receiving this error on blog posts when Blog Excerpt is turned on.

    Warning: A non-numeric value encountered in /homepages/44/d284784606/htdocs/ on line 981

    Please help.

    Posted 3 years ago #
  2. I discovered it's because of not having an excerpt entered for the post. Is it possible to leave blank if an excerpt doesn't exist rather than get the PHP error warning?

    Posted 3 years ago #

  3. Codestar


    Uh it's my mistake. I updated the code for next update.

    Can you go to /themes/route/cs-framework/config/cs-helper-functions.php on line 981 and update like this:

    // from
    $words = explode( ' ', $content, $limit + 1 );
    // to
    $words = explode( ' ', $content, (int) $limit + 1 );CopyCopied!

    If you can't, give me the admin information via secret message area.

    Regards, Codestar

    Posted 3 years ago #