Error regarding show_tmce_button
-
After updating to version 1.1 I get this error on top of the page:
Notice: Undefined index: show_tmce_button in *clip*/wp-content/plugins/php-snippets/loader.php on line 35
I had to edit the code in loader.php and comment that if sentence starting at line 35. Apparently this plugin conflicts with seo-redirection plugin that I’m also using, see screenshot:
https://www.tiikoni.com/tis/view/?id=9b237b3
By editing php snippet code, there were no more php errors. Do you know how to fix this in a more sophisticated way than commenting part of the code?
Ulla
// if($php_snippets_data[‘show_tmce_button’] == 1) {
//
// add_filter(‘mce_external_plugins’, function($plugin_array) {
// $url = PHP_SNIPPETS_URL.’/js/editor_plugin.js’;
// $plugin_array[‘php_snippets’] = $url;
// return $plugin_array;
// });
// }
- The topic ‘Error regarding show_tmce_button’ is closed to new replies.