• When updating Restrict Content 3.2.12 to 3.2.13 I got a critical error which kept me from rolling back to version 3.1.12. I had to go and download that version and install it by copying to the server, etc.

    The email sent to me by WordPress contained the following:

    An error of type E_ERROR was caused in line 1000 of the file /home/ottawaru/Sites/test.ottawarughooking.com/wp-content/plugins/restrict-content/restrictcontent.php. Error message: Uncaught Error: Call to undefined function rcp_is_rcp_admin_page() in /home/ottawaru/Sites/test.ottawarughooking.com/wp-content/plugins/restrict-content/restrictcontent.php:1000

    My system is as follows: WP Version 6.2 — Current theme: OceanWP Child (version 1.0) — Current plugin: Restrict Content (version 3.2.13) — PHP version 7.4.33

    Hopefully somebody can tell me what I need to do. I have rolled back to 3.2.12, but since this plugin is of utmost importance to our system, I’d like to get it upgraded as soon as possible.

    • This topic was modified 3 months, 2 weeks ago by elliottrn.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am facing the same issue. I added this to line 1000 os restrictcontent.php and solved the issue for now:

    if (!is_admin())

    Plugin Support ramilbatoy

    (@ramilbatoy)

    Hi everyone!

    Apologies for the delayed response.

    We just recently released an update 3.2.14. Please update your plugin and let us know if you’re still experiencing this issue.

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