Warnings in debug mode
-
Hi, first of all thanks for the work on this plugin! ??
With WordPress 4.1.1 and qTranslate-X 3.1 I get 3 warnings in debug mode:
WARNING: wp-content/plugins/qtranslate-x/qtranslate_core.php:1199 – get_class() expects parameter 1 to be object, string given
include(‘wp-admin/admin-footer.php’), do_action(‘admin_footer’), call_user_func_array, Debug_Bar->render, __, translate, apply_filters(‘gettext’), call_user_func_array, qtranxf_gettext, qtranxf_use, get_classWARNING: wp-content/plugins/qtranslate-x/qtranslate_core.php:1199 – get_class() expects parameter 1 to be object, boolean given
include(‘wp-admin/admin-header.php’), do_action(‘in_admin_header’), call_user_func_array, wp_admin_bar_render, do_action(‘wp_before_admin_bar_render’), call_user_func_array, qtranxf_fixAdminBar, qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage, qtranxf_use, qtranxf_use, get_classWARNING: wp-content/plugins/qtranslate-x/qtranslate_core.php:1199 – get_class() expects parameter 1 to be object, integer given
include(‘wp-admin/admin-header.php’), do_action(‘in_admin_header’), call_user_func_array, wp_admin_bar_render, do_action(‘wp_before_admin_bar_render’), call_user_func_array, qtranxf_fixAdminBar, qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage, qtranxf_use, qtranxf_use, qtranxf_use, get_classIt’s on my local server so can’t provide a link, but I’ve checked it with Twenty Fifteen theme and all plugins disabled except for qTranslate-X and Debug Bar, and the warnings are still present. I haven’t changed anything in the plugin’s code or in WordPress core.
Any ideas on how to solve this? Thanks!
- The topic ‘Warnings in debug mode’ is closed to new replies.