• Azee

    (@imchill)


    I am using your plugin from a year, today i got an email from WordPress with the Title (Your Site is Experiencing a Technical Issue)

    `Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Restrict Content.

    First, visit your website (https://mydomain.com/) and check for any visible issues. Next, visit the page where the error was caught (https://mydomain.com/wp-admin/admin-ajax.php) and check for any visible issues.`

    When Open this URL it shows only this 0

    `When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.9
    Current theme: Mission News (version 1.47)
    Current plugin: Restrict Content (version 3.0.4)
    PHP version 7.4.27

    Error Details
    =============
    An error of type E_PARSE was caused in line 40 of the file /home/mydomain/public_html/mydomain.com/wp-content/plugins/restrict-content/legacy/includes/settings.php. Error message: syntax error, unexpected ‘}’, expecting end of file`

Viewing 1 replies (of 1 total)
  • Plugin Contributor highprrrr

    (@highprrrr)

    Hi there!

    Thanks for letting us know about this.

    While we look into this and work on fixing it for a future version, could you please try the following:

    Using a code editor, or the plugin editor in the wordpress dashboard, navigate to wp-content/plugins/restrict-content/legacy/includes/settings.php and scroll down to line 36

    Notice there is one opening ( but there are two closing ).

    Try deleting the second one and let me know if that makes your error go away.

Viewing 1 replies (of 1 total)
  • The topic ‘Your Site is Experiencing a Technical Issue’ is closed to new replies.