• Resolved peter8nss

    (@peter8nss)


    I’m getting a PHP warning:

    Undefined array key "_user_id" in /home/sites/1a/4/44afcb079c/staging_html/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743'

    Think this relates to new line added in Changeset 3171877 (release 5.0.2). Unlike all the other nearby accesses to $context[‘_user_id’], this new one does not include “?? null”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • davidacq

    (@davidacq)

    Same here having PHP warning after updating to 5.0.3.
    PHP Warning: Undefined array key "_user_id" in /public_html/mysite/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743

    • This reply was modified 1 month ago by davidacq.
    Plugin Author eskapism

    (@eskapism)

    Yeah I get them too. I need to check why my tests does not pick up these.

    Sorry about it – will fix in next version!

    Plugin Author eskapism

    (@eskapism)

    This should be fixed in the just released version 5.0.4.

    I have also added more tests to catch errors like this in the future ??.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.