• Received this PHP error just now, thought the devs would like to be aware:

    PHP Warning: Undefined array key 1 in /../../wp-content/plugins/wordpress-beta-tester/src/WPBT/WPBT_Core.php on line 385

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andy Fragen

    (@afragen)

    Is this error persistent?

    Is it reproducible?

    If you save settings does it remain?

    Do you have the whole stack trace?

    • This reply was modified 3 years, 2 months ago by Andy Fragen.
    Thread Starter Sam Perrow

    (@samperrow)

    @afragen I am not sure exactly what produced that error. I’ve tried changing settings, checking for updates, but no luck. That was the first time I ever saw that error. It may have happened due to some cron event, because I saw it after having my local server running for ~2 days without logging on or using WP at all.

    I am using PHP 8.0.8, WP 5.8, running WP on my local server, Chrome, and I have the “bleeding edge” and “beta/RC only” options checked only. Hope that helps, I’ll let you know if I notice it again.

    Plugin Author Andy Fragen

    (@afragen)

    Thanks Sam.

    If you can reproduce it let me know. It’s possible something running in a cron event or wp-cli lets this slip through. I confess to not having seen it previously.

    I am seeing this as well. I just have the plugin active, not sure what I have done that helps reproduce the issue.

    Notice: Undefined offset: 1 in C:\Users\helga\Local Sites\sandbox\app\public\wp-content\plugins\wordpress-beta-tester\src\WPBT\WPBT_Core.php on line 385

    Plugin Author Andy Fragen

    (@afragen)

    Does this error persist?

    I’ll see if I can mitigate it somehow.

    Plugin Author Andy Fragen

    (@afragen)

    Odd as that means the following line would need to result in an undefined value.

    https://github.com/afragen/wordpress-beta-tester/blob/7ea22f611a041685e69f93cd8a468600cd8da8cd/src/WPBT/WPBT_Core.php#L381

    Plugin Author Andy Fragen

    (@afragen)

    Can you share the full stack trace?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP error’ is closed to new replies.