[Pushed] Custom MyCode
#1
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
Reply
#2
What regular expression did you insert?
My Projects - Support My Projects

Don't forget to rate posts!
Reply
#3
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.
Reply
#4
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.
My Projects - Support My Projects

Don't forget to rate posts!
Reply
#5
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
My GitHub | Galaxies Realm

Please do not PM me for support; use the forum instead
Reply
#6
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)