• Resolved colinjc

    (@colinjc)


    Hi,

    Geting the following error..
    Notice: Undefined variable: option_load_assets_conditionally in /home/newtontw/public_html/wp-content/plugins/katex/scripts/resource.php on line 85

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Thomas Churchman

    (@beskhue)

    Hi,

    Thank you for the report.

    This is not an error and won’t stop the plugin from working.

    I’ll have a look into the cause of this message though.

    Thread Starter colinjc

    (@colinjc)

    Hi,

    You can see the error on https://newtontweaked.com/

    Cheers,

    Colin.

    Plugin Author Thomas Churchman

    (@beskhue)

    Thank you. I did not realize your were seeing this output on your page. It’s recommended for production websites to not log to the page. You can achieve this by setting

    display_errors = Off

    in your php.ini. That will suppress this message, and will also prevent other messages that might otherwise be a potential security risk.

    I have a hunch you can also stop this message from appearing by:

    1. going to the KaTeX plugin settings
    2. checking “Load KaTeX assets conditionally”
    3. saving
    4. unchecking “Load KaTeX assets conditionally”
    5. saving

    Regardless, I will look into the source of this message for a future version, but I don’t currently have time. It will likely take a month before I can get to it.

    Plugin Author Thomas Churchman

    (@beskhue)

    This should be fixed in version 2.2.2.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Notice: Undefined variable: option_load_assets_conditionally in /home…’ is closed to new replies.