• Resolved dani31bu

    (@dani31bu)


    When I activate this plugin, the error message “Warning: Undefined array key “search” in /home/httpd/vhosts/bp-consulting.trinermedia.ch/httpdocs/wp-content/plugins/gdpr-compliant-recaptcha-for-all-forms/includes/class-message-page.php on line 144″ appears.

    WordPress: 6.3 German
    PHP: 8.2.8
    Does anyone know the solution to this problem?

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matthias Nordwig

    (@matthiasnordwig)

    Hi.

    This warning shows us that the programmer ( i.e. me ) has not a good style at this point. But in fact is not a critical thing, as I handle this case later on in the code. But the better way would be to request, whether the key exists before assigning it to a variable.

    I have just fixed it for the next release, so that your error-log, which seems to be quite sensitive, will remain clean.

    Cheers, Matthias

    Plugin Author Matthias Nordwig

    (@matthiasnordwig)

    I have just released the fix. With the new version the warning should not appear anymore.

    Cheers, Matthias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined array key’ is closed to new replies.