Please or Register to create posts and topics.

Warnings after defining user groups

After defining my own user groups (and deleting a predefines usergroup) the following warnings are displayed:

`Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /homepages/ … /wp-includes/class-wp.php on line 223

Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /homepages/ … /wp-includes/class-wp.php on line 224

Warning: Cannot modify header information – headers already sent by (output started at /homepages/ … /wp-includes/class-wp.php:223) in /homepages/ … /wp-includes/pluggable.php on line 1329

Warning: Cannot modify header information – headers already sent by (output started at /homepages/… /wp-includes/class-wp.php:223) in /homepages/… /wp-includes/pluggable.php on line 1332`

 

My Question: What can I do, to get rid of this messages, displayed on each page?

Hey @alfonsd,

First of all it’s important to know that it is only a warning and not an error. You should make sure to deactivate the debug mode in WordPress before publishing.

In most of the cases it’s enough to go to “Settings”->”Permalinks” and Change to “plain” and back to your mode. Do you use a custom permalink or one of the default ones. If you use a custom structure, please post it here so I can have a look.

I’ve also found a bug and I’ll push this to GitHub so we can add it to the next update. Can you please check if you have a page with a forum shortcode in the trash? (Check the Screenshot)

It’s also important to check if this warning will also be shown if all other plugins are deactivated and you are using a basic theme. You can do this easily by using https://wordpress.org/plugins/health-check/. Activate this plugin and head to “Plugins” you only have to click troublehsoot next to Asgaros Forum and all ohter plugins are deactivated. This will only be affect you, but not your visitors.

Uploaded files:
  • Screenshot_20210515_154634.png
Asgaros has reacted to this post.
Asgaros
Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.