You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
I'm testing as a registered user with a free account that has post views limited. This error occurs when I'm redirected to the LPV page, or on some other random pages all the time like the home page.
Screenshots
Expected behavior
The JSON sent back to eval should probably be blank?
WordPress Environment
```
LPV 1.0
```
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm seeing an
Uncaught SyntaxError: Illegal return statement
coming frompmprolpv.js
line 32:eval( response.data );
This seems to be linked to both:
https://github.com/strangerstudios/pmpro-limit-post-views/blob/dev/includes/restriction.php#L53
https://github.com/strangerstudios/pmpro-limit-post-views/blob/dev/includes/restriction.php#L61
To Reproduce
I'm testing as a registered user with a free account that has post views limited. This error occurs when I'm redirected to the LPV page, or on some other random pages all the time like the home page.
Screenshots
Expected behavior
The JSON sent back to eval should probably be blank?
WordPress Environment
The text was updated successfully, but these errors were encountered: