MyBB Community Forums

Full Version: Custom MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I upgraded my forum to the latest version of MyBB and now I cannot edit my Custom MyCode.

This is the error I get:
Quote:The following errors were encountered:
You entered a regular expression which is already defined in another MyCode. Please provide a different regular expression for this MyCode.

This is my forum url: https://forum.startrekgdr.it/
MyBB version: 1.8.11 (upgrade from Mybb 1.8.9)

Thank you in advance and best regards,
Neris
What regular expression did you insert?
I'm not creating a new MyCode, but I try to edit an already existing and working MyCode. Any MyCode throws me error.
The thing is that this happens even if I save without making changes.
This is a bug of the last version. They added a check to avoid having 2 same mycodes with different replaces. If I'm not wrong, this verification doesn't check if the existing regex is of the edited mycode.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2729

Thanks for contributing to MyBB!

Regards,
The MyBB Group
For those who don't want to juggle core code, here is a workaround:
  • add a dot or something in reg_expression box
  • save
  • remove the added dot
  • save