Plugin breaks TinyMCE in PHP 7.4
-
In PHP 7.4, the implode() function now throws an exception when passing the glue and pieces in the wrong order.
This causes line 2732 of
/equation-editor-fork/tiny_mce_wiris/core/core.jsto fail because it sees a PHP warning string rather than a valid JSON string.Here’s the error:
"<pre>uncaught exception: <b>join(): Passing glue string after array is deprecated. Swap the parameters (errno: 8192) in /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/lib/php/Boot.class.php at line #835join(): Passing glue string after array is deprecated. Swap the parameters</b><br /><br />in file: /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/lib/php/Boot.class.php line 835<br />#0 [internal function]: _hx_error_handler() #1 /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/lib/php/Boot.class.php(835): join() #2 /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/lib/php/Boot.class.php(854): _hx_build_paths() #3 /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/lib/com/wiris/system/CallWrapper.class.php(44): require_once('/home/...') #4 /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/plugin.php(5): com_wiris_system_CallWrapper->init() #5 /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/pluginbuilder.php(3): require_once('/home/...') #6 /home/public_html/wp-content/plugins/equation-editor-fork/tiny_mce_wiris/integration/configurationjs.php(5): require_once('/home/...') #7 {main}</pre>"As a result of this, the TinyMCE editor (Classic Editor) breaks and can’t swap between modes or save correctly.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Plugin breaks TinyMCE in PHP 7.4’ is closed to new replies.