turned on debug in config and got an error

WordPress Business Themes 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

Discontinued - The forum content is out of date. For theme support please use our support desk here.

WordPress Business Themes 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
    JamesD
    Super Guru 1,345 points

    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.

    Attachments:
    You must be logged in to view attached files.
    April 29, 2019 at 2:22 am
  • Didn't find what you were after?

    Chat with us now

    or contact our support team