• Resolved gmariani405

    (@gmariani405)


    Have hundreds of these warnings in 4.2.6.3, looks like it should still be applicable in 4.2.6.4. Line 51 in /inc/class-ps-rest-handler.php. Running PHP 8.0.30, and WordPress 6.4.3.

    [16-Feb-2024 20:36:54 UTC] PHP Warning:  Undefined array key "global_protection_id" in /chroot/home/USER/DOMAIN/html/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php on line 46
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author patrickposner

    (@patrickposner)

    @gmariani405, thanks for bringing that up!

    I will add a patch for that in the next update! ??

    Hi, I am having this issue too

    [08-Aug-2024 16:11:49 UTC] PHP Warning: Undefined array key “global_protection_id” in /home/host/domain/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php on line 51

    Also when I go to settings then design nothing shows blank page

    Running PHP 8.3, and WordPress 6.6.1

    • This reply was modified 3 months, 2 weeks ago by willsinhajo.

    If anyone else is still having this issue I found in my case this was from never enabling the global protection. I just enabled it and then disabled it again and it added the necessary key to the database and stopped throwing that error.

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