• Resolved Mike Meinz

    (@mikemeinz)


    The PHP error_log contains a lot of the “Undefined array key” PHP warning message. Sometimes dozens per second. This has been going on for quite some time. I just started working on this site and the first entry in the error_log is this PHP Warning and that was from June, 2025. June might have been when the last admin deleted the error_log file. There are no error_logs archived for me to review to see if the problem started even earlier.

    PHP Warning: Undefined array key 1 in /home/eltownhall/public_html/wp-content/plugins/relevanssi/lib/common.php on line 1834

    I uninstalled (and deleted) Relevanssi and did a new install. The warnings re-occurred.

    Search works.

    Relevanssi Version: 4.24.6
    WordPress Version 6.8.2
    PHP Version 8.3

    Please let me know if there is anything that I can do to resolve this issue.
    Thank you for all of your efforts with the Relevanssi PlugIn.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Sounds like you have a malformed synonym. All synonym entries should be “a=b”, but I’m guessing you have something that doesn’t have a “=” in it.

    Thread Starter Mike Meinz

    (@mikemeinz)

    You are correct! Thank you so much!!!
    I copied my synonym list to an Excel spreadsheet and used Text to Columns with delimiter of =. Immediately, I saw the problem. One entry had a – instead of an =. Same key on the U.S. Keyboard!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined array key 1 in common.php’ is closed to new replies.