Support » Plugin: Sublanguage » Sublanguage crash when activating other plug, event ticket from modern tribe.

  • Hi!
    When activating Modern Tribe plugin Event Ticket, Sublanguage crashes and stop working, a 404 page show up. If you deactivate Event Ticket, it still not working (still 404 page), you have to delete the language and reinstall it.
    I have a movie that describe the problem, please email me te get the link.
    Of course I allso have made a support ticket to Modern Tribe.
    I dont know if the error is in your code or within Event Ticket.

    I hope you toghether (or only you) can find a quick solution. For the moment Sublanguage is deactivated. I need both plugins.

    Regards
    Fredrik

Viewing 1 replies (of 1 total)
  • Plugin Author maximeschoeni

    (@maximeschoeni)

    Hello,
    Thanks for reporting this issue. The problem is caused by a conflict with rewrite rules. Event Ticket plugin checks on front-end wether another plugin has changed rules, and regenerate rules if it does. And Sublanguage does not allow to regenerate rules on front-end (because of performance issue).

    One way to quickly resolve the problem is to modify line 3 in /plugins/sublanguage/class-site.php. Replace

    class Sublanguage_site extends Sublanguage_current {

    by

    class Sublanguage_site extends Sublanguage_rewrite {

    I’ll solve this problem in the next version, so don’t worry about updating Sublanguage when a new version is availabe.

Viewing 1 replies (of 1 total)
  • The topic ‘Sublanguage crash when activating other plug, event ticket from modern tribe.’ is closed to new replies.