Title: error on installation
Last modified: April 11, 2019

---

# error on installation

 *  Resolved [meinfach2](https://wordpress.org/support/users/meinfach2/)
 * (@meinfach2)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-installation-24/)
 * Hi, working with WP 5.1.1, at installazion I get following warnings:
 * Warning: Constants may only evaluate to scalar values in /membri/meinfach/wp-
   content/plugins/katex/katex.php on line 38
 * Warning: Illegal string offset ‘katex_latex_shortcode_setting’ in /membri/meinfach/
   wp-content/plugins/katex/scripts/shortcode.php on line 28
 * Warning: Illegal string offset ‘katex_jsdelivr_setting’ in /membri/meinfach/wp-
   content/plugins/katex/scripts/resource.php on line 32
 * Not able to use KATEX in gutemberg blocks.
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [meinfach2](https://wordpress.org/support/users/meinfach2/)
 * (@meinfach2)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-installation-24/#post-11428760)
 * Hi,
    I disabled/enabled and uninstalled/installed but warnings are there. I can
   add KATEX blocks and looks working despite what I wrote in first message. Problem
   is only warnings that are always present in editor and are quite annoying.
 *  Plugin Author [Tom Churchman](https://wordpress.org/support/users/beskhue/)
 * (@beskhue)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-installation-24/#post-11441050)
 * Thanks for the issue report. Could you indicate which version of PHP you encounter
   this on?
 *  Thread Starter [meinfach2](https://wordpress.org/support/users/meinfach2/)
 * (@meinfach2)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-installation-24/#post-11443377)
 * Hi Thomas,
    the version of PHP is 5.6.40 it is provided by the hosting service,
   I cannot upgrade it to a more recent one.
 *  Plugin Author [Tom Churchman](https://wordpress.org/support/users/beskhue/)
 * (@beskhue)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-installation-24/#post-11445400)
 * Thank you; I’ve released version 1.0.3 that fixes this issue for PHP 5.
 *  Thread Starter [meinfach2](https://wordpress.org/support/users/meinfach2/)
 * (@meinfach2)
 * [7 years ago](https://wordpress.org/support/topic/error-on-installation-24/#post-11459027)
 * Thanks Thomas, I can confirm that problem is resolved

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘error on installation’ is closed to new replies.

 * ![](https://ps.w.org/katex/assets/icon.svg?rev=1993573)
 * [KaTeX](https://wordpress.org/plugins/katex/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/katex/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/katex/)
 * [Active Topics](https://wordpress.org/support/plugin/katex/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/katex/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/katex/reviews/)

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 5 replies
 * 2 participants
 * Last reply from: [meinfach2](https://wordpress.org/support/users/meinfach2/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/error-on-installation-24/#post-11459027)
 * Status: resolved