Home Forums Responsive Themes Directory Theme turned on debug in config and got an error Reply To: turned on debug in config and got an error

  • JamesD
    Super Guru 1,704 points
    April 29, 2019 at 2:22 am

    Hello Mitchell,

    Those are only notices and relatively minor, so it shouldn’t break anything when not in debug mode. Even though minor, displayed errors (in general) bug me too, so I always end up checking and fixing them.

    If you want to fix it, then all you would need to do is replace line #18 if(strlen($_GET['s']) < 3 && is_numeric($_GET['s'])){ with if(isset($_GET['s']) && strlen($_GET['s']) < 3 && is_numeric($_GET['s'])){ and it should remove those messages.

    I’ve attached the pp_core.php file with the change (if it’s easier than a manual change).
    Note: the file is from v9.2.6.

    You must be logged in to view attached files.
  • New Business Themes for WordPress 2020

    Start your new website today!

    View Business Themes