UsersWP activation causes error
This topic contains 15 replies, has 4 voices, and was last updated by Patrik 5 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: permalinks, php error, preg_match()
-
AuthorPosts
-
May 18, 2019 at 5:30 pm #4145
I have installed GeoDirectory & Location Manager, using DIVI theme.
When activating UsersWP plugin, the following error appears:Warning: preg_match(): Compilation failed: nothing to repeat at offset 2 in /www/htdocs/xxxxxxxx/wp-includes/class-wp.php on line 222 Warning: preg_match(): Compilation failed: nothing to repeat at offset 2 in /www/htdocs/xxxxxxxx/wp-includes/class-wp.php on line 223
Any idea what might cause this issue?
The UsersWP plugin was active in the beginning. Then I deactivated it since I didn’t use it and I was working on the directory, making changes in the settings, adjusting pages, etc. Now when reactivating UsersWP, this error pops up.
To get rid of this error, after deactivating UsersWP I have to got to permalink settings an save the settings again (without changes) then everything works well again.
Thanks for your help!
MandyMay 18, 2019 at 5:42 pm #4147This reply has been marked as private.May 18, 2019 at 5:51 pm #4148This reply has been marked as private.May 18, 2019 at 7:37 pm #4149This reply has been marked as private.May 19, 2019 at 6:14 am #4150This reply has been marked as private.May 19, 2019 at 2:26 pm #4151This reply has been marked as private.May 20, 2019 at 5:23 am #4159Hi,
I activated the plugin without any error. I would suggest you provide the screenshot of the error with steps to regenerate the error so we can do some troubleshooting and fix it for you.
Regards,
PatrikMay 20, 2019 at 5:34 am #4160This reply has been marked as private.May 20, 2019 at 5:54 am #4162Hi,
The errors don’t seem to be due to UsersWP plugin. If you deactivate the plugin and check the errors are still there. Actually, those are not errors but notices due to PHP version compatibility. Either theme or one of the plugins not compatible with your current PHP version. So I would suggest you deactivate all the plugins and activate them one by one to see which plugin causes an issue. You can try this on the staging site as well without affecting your live users.
Regards,
PatrikMay 20, 2019 at 6:04 am #4163Hi Patrik,
thanks for your feedback. Since the error only appears when activating UsersWP, I assume it must have something to do with the plugin?
After deactivating the plugin, I have to re-save the permalink settings and the error disappears.- I updated PHP version to 7.3.
- I deactivated all plugins, then only activated UsersWP – the error is back again.
- I changed the theme to the default Twenty Nineteen – the error is still there.
So I’m pretty sure that the error is related to the plugin.
Could you please check again?
Thanks,
MandyMay 22, 2019 at 7:19 pm #4203Hey I just wanted to jump in and say that I’m having the same issue. I’m pretty sure it’s a problem with MY permalinks, but activating your plugin seems to cause the PHP error that was posted here.
As additional info: I disabled Yoast SEO and the problem went away. But today, as soon as I updated GeoDirectory’s permalink structure, it came right back.
Any ideas why your plugins would cause the problem to become worse? I have installed Permalink Manager Lite and I am rebuilding my permalinks now. I will report back whether or not that is a success.
thanks,
KimMay 22, 2019 at 7:27 pm #4204So quick update:
Rebuilding my permalinks did not fix the issue. Neither did disabling the UsersWP plugin. So while activating the plugin may have exacerbated the issue, the issue appears to be with the site or another plugin…Searched solutions on Google agree this is a possible solution:
turn off ALL plugins
set your permalink structure to default
save settings
Go to affected page and make sure it is fixed
change permalink structure back to custom
save settings
check again to make sure fix works
turn back on plugins
check again to make sure fix still worksThat is what numerous posts from the past few years indicate is a fix.
May 23, 2019 at 6:20 am #4218Hi,
I also found only the above solution for such issues and that is not an issue on all sites having UsersWP plugin but still, I will do some more troubleshooting by creating the same environment on my local server and test it. So, for now, you can follow the above steps to fix this issue and I will update you here as soon as I find anything.
Regards,
PatrikMay 23, 2019 at 2:01 pm #4222Hi rvtravel,
thanks for your input! I went through the steps as described, but it didn’t help. As soon as I activate UsersWP (no other plugins), the error is back again.
So, I hope Patrik can find a solution for this issue! So long I won’t be able to use the plugin unfortunately.
Thanks all for your help!
MandyJune 11, 2019 at 2:09 pm #4471Hi Patrik,
do you have any news on this issue? We want to launch the website beginning of July and the UsersWP plugin would be super useful!
Otherwise I would have to look for an alternative solution – if there is any?Thanks!
Mandy -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket