1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Warning: A non-numeric value encountered

Discussion in 'Free Divi Community Forum' started by Mohamed Ali Moujahed, Aug 17, 2020.

  1. Hello,

    My website is showing an error like this in the frontend :

    Warning: A non-numeric value encountered in /wp-content/themes/Divi/includes/builder/module/Portfolio.php on line 513

    That line :

    private static function get_previous_link( $paged ) {
    $previous_page = (int) $paged - 1;

    return $previous_page >= 1 ? get_pagenum_link( $previous_page ) : null;
    }

    Would please help find a solution to this issue?

    Pleas advise.

    Thank you
     
    1. PRO MEMBER PERKS Divi Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    I would suggest you to update Divi to the latest version & see if it works.

    Also try to enable Safe Mode & see if it works: WP Admin > Divi > Support Center > Safe Mode > Enabled.

    Lastly, try to fulfill the requirements stated in WP Admin > Divi > Support Center > System Status.
     
    Mohamed Ali Moujahed likes this.
  3. Thank you for your reply. I fixed the issue by disabling errors display in php.ini file.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade card carousel design for your Divi site without using any plugins:View Demo