Kylo I understand. I recently reinstalled flarum and installed this extension first. still have the same problem. Do you know where I can acquire the error log for the test post we tested recently?

  • Kylo replied to this.

    Hello @Kylo Thanks for such a great extension can you please stop rendering equations in code like
    [math]incode[/math] as I want to explain my users that how to use this but it also renders in code window, before that i was using Flajax which only renders in normal window.

    • Kylo replied to this.

      ParlorPink I don't think it'll throw any errors, it's just behaving unexpected (Flarum logs are found at <flarum>/storage/logs, since you ask). Maybe it's related with KaTeX cdn? Or is it a cache related thing (php flarum cache:clear)? I'm not sure.

      1Dot we have "decisive keywords" for that. Use [imath=ignore][/imath] or one of your custom decisive keyword that you set in extension settings. Or simply set code as ignored tag to skip rendering equations in code tag. Having said that, I wonder if you experiencing the same issues as @ParlorPink ?

      0.3.6

      • Fix wrong KaTeX css version.

      Kylo Oh yeah, I said something that I deleted later. Just wanted to say when you tested on my forum earlier today the plugin was not activated.

        ParlorPink give this a try:

        0.3.7

        • Use ['oncreate', 'onupdate'] lifecycle hooks for CommentPost component instead of onupdate only.
        composer update the-turk/flarum-mathren
        php flarum cache:clear
          15 days later

          🎉 1.0.0

          All hail the new TeX renderer solution! I practically rewritten the whole thing.

          • As we're using native TextFormatter methods now, expressions should be rendered Flarum-wide automatically.
          • Bring back special delimiters (aka the "dollar signs") support. You can even use euro, yuan, turkish lira signs. Not to mention that they're 100% compatible with Markdown & BBCode and ready to render your most complex expressions.
          • Fix AMS environments won't render outside block delimiters.
          • Drop decisive keywords & DOM node excluders (they were causing too much confusion, wrap your expressions with the code tag instead).
          • The backend is more clear than ever, come and join me!

          Breaking changes!

          • Your settings won't be preserved.
          • Old expressions might not be rendered until you edit and save the post.
          composer require the-turk/flarum-mathren:1.0.0
          php flarum migrate
          php flarum cache:clear

            Kylo After update maths is not rendering

            I also cleared cache!

            • Kylo replied to this.

              1Dot did you run php flarum migrate ? Or at least added a delimiter from the settings page?

                Kylo Delimiter was set up I run php flarum migrate and it's fixed.

                @Kylo But I have to click edit on old posts and hit save in order to render math still.
                So what's the issue here.

                  1Dot But I have to click edit on old posts and hit save in order to render math still.
                  So what's the issue here.

                  I was kind of expecting that (the reason why I'm tagged this as 1.0.0). New way of rendering things might causing this issue, seems like nothing I can do to render the old ones. If there are too much expressions on your forum that you can't update one by one and you're happy with BBCode-only delimiters, maybe stay in 0.3.x.

                    Kylo Ok I done edit and save it as It was an genuine issue and also my forum is small so no worry to stick with 0.3x

                    Kylo

                    Error after update

                    Uncaught TypeError: Cannot read property 'type' of null
                        at t.e.pushObject (Store.js:57)
                        at Array.map (<anonymous>)
                        at t.e.pushPayload (Store.js:37)
                        at e.boot (Application.js:171)
                        at (index):222

                      Geraldlzc Try Clearing your cache as I am also using the latest version and I can't see this.

                        1Dot

                        php flarum migrate
                        php flarum cache:clear

                        The command was used, but it did not work

                        Geraldlzc where and when did you get this error? Are you sure if this caused by MathRen?

                          Geraldlzc you need to give more details. When does it happen? Which function of the extension doesn't work? Where did you see this error? What was your last action before this error? Is disabling this extension resolving your issue?