Constructor error
-
Please fix the constructor error, i.e. change:
class qTranslateXWidget extends WP_Widget { function qTranslateXWidget() { $widget_ops = array('classname' => 'qtranxs_widget', 'description' => __('Allows your visitors to choose a Language.', 'qtranslate') ); $this->WP_Widget('qtranslate', __('qTranslate Language Chooser', 'qtranslate'), $widget_ops); }
into:
class qTranslateXWidget extends WP_Widget { function qTranslateXWidget() { $widget_ops = array('classname' => 'qtranxs_widget', 'description' => __('Allows your visitors to choose a Language.', 'qtranslate') ); parent::__construct('qtranslate', __('qTranslate Language Chooser', 'qtranslate'), $widget_ops); }
This is required for php7 support and has been requested by wp to change it before the release of wp 4.3
https://wordpress.org/plugins/qtranslate-x/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Constructor error’ is closed to new replies.