I did change debug to true in wp-config and got these errors but i have no idea how to resolve them:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WooThemes_Shortcode_Generator has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/functions/admin-shortcode-generator.php on line 33
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Widget_WooTabs has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-tabs.php on line 24
Deprecated: Function create_function() is deprecated in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-tabs.php on line 235
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_AdWidget has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-adspace.php on line 6
Notice: The called constructor method for WP_Widget in Woo_AdWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_BlogAuthorInfo has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-blogauthor.php on line 5
Notice: The called constructor method for WP_Widget in Woo_BlogAuthorInfo is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_EmbedWidget has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-embed.php on line 6
Notice: The called constructor method for WP_Widget in Woo_EmbedWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_flickr has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-flickr.php on line 5
Notice: The called constructor method for WP_Widget in Woo_flickr is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Search has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-search.php on line 5
Notice: The called constructor method for WP_Widget in Woo_Search is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Widget_Social has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-social.php on line 29
Deprecated: Function create_function() is deprecated in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-social.php on line 187
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Widget_PostMeta has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-postmeta.php on line 29
Deprecated: Function create_function() is deprecated in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-postmeta.php on line 184
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Twitter has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-twitter.php on line 5
Notice: The called constructor method for WP_Widget in Woo_Twitter is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Subscribe has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-subscribe.php on line 5
Notice: The called constructor method for WP_Widget in Woo_Subscribe is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Widget_Feedback has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-feedback.php on line 24
Deprecated: Function create_function() is deprecated in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-feedback.php on line 238
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Widget_Blog has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-blog.php on line 29
Deprecated: Function create_function() is deprecated in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-blog.php on line 222
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Woo_Widget_Portfolio has a deprecated constructor in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-portfolio.php on line 29
Deprecated: Function create_function() is deprecated in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/includes/widgets/widget-woo-portfolio.php on line 267
Notice: The called constructor method for WP_Widget in Woo_Widget_WooTabs is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Notice: The called constructor method for WP_Widget in Woo_Widget_Social is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Notice: The called constructor method for WP_Widget in Woo_Widget_PostMeta is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Notice: The called constructor method for WP_Widget in Woo_Widget_Feedback is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Notice: The called constructor method for WP_Widget in Woo_Widget_Blog is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Notice: The called constructor method for WP_Widget in Woo_Widget_Portfolio is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xg1u6w994rcg/public_html/wp-includes/functions.php on line 4397
Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/functions/admin-interface.php:111 Stack trace: #0 /home/xg1u6w994rcg/public_html/wp-includes/class-wp-hook.php(286): woothemes_add_admin(”) #1 /home/xg1u6w994rcg/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/xg1u6w994rcg/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/xg1u6w994rcg/public_html/wp-admin/includes/menu.php(154): do_action(‘admin_menu’, ”) #4 /home/xg1u6w994rcg/public_html/wp-admin/menu.php(308): require_once(‘/home/xg1u6w994…’) #5 /home/xg1u6w994rcg/public_html/wp-admin/admin.php(152): require(‘/home/xg1u6w994…’) #6 {main} thrown in /home/xg1u6w994rcg/public_html/wp-content/themes/swatch/functions/admin-interface.php on line 111
]]>