{"id":6069,"date":"2019-11-13T19:32:46","date_gmt":"2019-11-13T19:32:46","guid":{"rendered":"https:\/\/www.icdsoft.com\/blog\/?p=6069"},"modified":"2019-11-19T09:30:03","modified_gmt":"2019-11-19T09:30:03","slug":"wordpress-5-3-throws-an-error","status":"publish","type":"post","link":"https:\/\/www.icdsoft.com\/blog\/wordpress-5-3-throws-an-error\/","title":{"rendered":"WordPress 5.3 Throws an Error"},"content":{"rendered":"\n<p class=\"has-text-align-center\">(the title is taken from a forum thread at WordPress.org)<\/p>\n\n\n\n<p>WordPress 5.3 Kirk was released on November 12, 2019. It is named in honor of American jazz musician Rahsaan Roland Kirk and is the last major release for this year. It contains a lot of improvements and new exciting features. The most notable ones are the new default Twenty Twenty theme, lots of new features and improvements in the Gutenberg editor, several improvements related to the Site Health Tool, enhancements in the WordPress dashboard, improved performance, and many more. For a detailed overview of the new features, you could check the <a rel=\"noreferrer noopener\" aria-label=\"official release notes (opens in a new tab)\" href=\"https:\/\/wordpress.org\/news\/2019\/11\/kirk\/\" target=\"_blank\">official WordPress 5.3 release notes<\/a>.<\/p>\n\n\n\n<p>This post will focus on some of the issues you may encounter after the update.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Warnings about an insecure PHP version<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"834\" height=\"197\" data-src=\"https:\/\/www.icdsoft.com\/blog\/wp-content\/uploads\/2019\/11\/php.png\" alt=\"PHP Update Required: WordPress notification about site running on insecure PHP version.\" class=\"wp-image-6078 lazyload\" data-srcset=\"https:\/\/www.icdsoft.com\/blog\/wp-content\/uploads\/2019\/11\/php.png 834w, https:\/\/www.icdsoft.com\/blog\/wp-content\/uploads\/2019\/11\/php-300x71.png 300w, https:\/\/www.icdsoft.com\/blog\/wp-content\/uploads\/2019\/11\/php-768x181.png 768w\" data-sizes=\"(max-width: 834px) 100vw, 834px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 834px; --smush-placeholder-aspect-ratio: 834\/197;\" \/><\/figure>\n\n\n\n<p>If you see warnings on your dashboard that your PHP version is outdated, you can easily change the PHP version for your account to the latest PHP version (7.3) through the hosting Control Panel -&gt; PHP Settings -&gt; Default PHP Version. If you prefer to change the PHP version only for some particular subdomain or directory, you could do this by following the instructions in our article on <a rel=\"noreferrer noopener\" aria-label=\"online manual (opens in a new tab)\" href=\"https:\/\/www.icdsoft.com\/en\/kb\/view\/php_version\" target=\"_blank\">PHP versions<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Site Health Tool recommends installing the module Imagick.<\/h4>\n\n\n\n<p>You can enable the Imagick module by adding the following line to the global php.ini file for your account:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">extension = imagick.so<\/pre>\n\n\n\n<p>The global php.ini file can be edited through the PHP Settings interface of the hosting Control Panel. Detailed instructions are available in our knowledge base article on <a rel=\"noreferrer noopener\" aria-label=\"online manual (opens in a new tab)\" href=\"https:\/\/www.icdsoft.com\/en\/kb\/view\/php_settings\" target=\"_blank\">PHP settings<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Errors displayed on websites using the OceanWP theme and Ocean Extra plugin (and others)<\/h4>\n\n\n\n<p>The popular Ocean Extra plugin has a compatibility issue with WordPress 5.3 that causes errors like the following to be displayed:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Warning: Declaration of QuietSkin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, \u2026$args) in \/home\/username\/wp-content\/plugins\/ocean-extra\/includes\/wizard\/classes\/QuietSkin.php on line 12<\/pre>\n\n\n\n<p>A quick fix is to change the following line in wp-content\/plugins\/ocean-extra\/includes\/wizard\/classes\/QuietSkin.php:<\/p>\n\n\n\n<p><code>public function feedback($string) { \/* no output *\/<\/code><\/p>\n\n\n\n<p>to<\/p>\n\n\n\n<p><code>public function feedback($string, ...$args) { \/* no output *\/<\/code><\/p>\n\n\n\n<p>You can easily edit the file QuietSkin.php through the File Manager interface of the hosting Control Panel.<br>We posted the same solution in the <a href=\"https:\/\/wordpress.org\/support\/topic\/5-3-throws-an-error\/#post-12124813\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"WordPress.org forums (opens in a new tab)\">WordPress.org forums<\/a>. As this plugin is quite popular, we suppose its developers will soon release an official update.<\/p>\n\n\n\n<p><strong>Update:<\/strong> Version of 1.5.19 of Ocean Extra that fixes this issue has been released.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Errors on websites using W3 Total Cache<\/h4>\n\n\n\n<p>If you are using the caching plugin W3 Total Cache, the following error could show up after the update:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Warning: Declaration of W3TC\\DbCache_Wpdb::prepare($query, $args) should be compatible with wpdb::prepare($query, \u2026$args) in \/home\/username\/www\/\/wwww\/wp-content\/plugins\/w3-total-cache\/DbCache_Wpdb.php on line 8<\/pre>\n\n\n\n<p>The issue was reported on <a href=\"https:\/\/github.com\/W3EDGE\/w3-total-cache\/issues\/79\" target=\"_blank\" rel=\"noopener\">GitHub.com<\/a> and the W3 Total Cache developers will soon release an update that fixes it. In the meantime, you can disable the database cache via the WordPress dashboard -&gt; Performance &gt; General Settings -&gt; Database Cache. Alternatively, you could disable the plugin.<\/p>\n\n\n\n<p>As more websites get updated, new issues may arise. We will update this post with information about any major problems encountered by our customers. You can also check the <a rel=\"noreferrer noopener\" aria-label=\"WordPress 5.3 Master List (opens in a new tab)\" href=\"https:\/\/wordpress.org\/support\/topic\/read-this-first-wordpress-5-3-master-list\/\" target=\"_blank\">WordPress 5.3 Master List<\/a> on the WordPress forums for information about known issues and for general guidelines on what to do if there is some problem with the update.<\/p>\n\n\n\n<p>Should you encounter any problems with the update, our support team is available 24\/7 to assist you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(the title is taken from a forum thread at WordPress.org) WordPress 5.3 Kirk was released on November 12, 2019. It is named in honor of American jazz musician Rahsaan Roland Kirk and is the last major release for this year. It contains a lot of improvements and new exciting features. The most notable ones are<\/p>\n","protected":false},"author":17,"featured_media":6084,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-6069","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-general"},"author_meta":{"display_name":"Vesselin","author_link":"https:\/\/www.icdsoft.com\/blog\/author\/vesselin\/"},"featured_img":"https:\/\/www.icdsoft.com\/blog\/wp-content\/uploads\/2019\/11\/wp53-1-300x119.png","featured_image_src":"https:\/\/www.icdsoft.com\/blog\/wp-content\/uploads\/2019\/11\/wp53-1.png","featured_image_src_square":"https:\/\/www.icdsoft.com\/blog\/wp-content\/uploads\/2019\/11\/wp53-1.png","author_info":{"display_name":"Vesselin","author_link":"https:\/\/www.icdsoft.com\/blog\/author\/vesselin\/"},"coauthors":[],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/www.icdsoft.com\/blog\/category\/general\/\" class=\"advgb-post-tax-term\">General<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">General<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 7 years ago","modified":"Updated 7 years ago"},"absolute_dates":{"created":"Posted on November 13, 2019","modified":"Updated on November 19, 2019"},"absolute_dates_time":{"created":"Posted on November 13, 2019 7:32 pm","modified":"Updated on November 19, 2019 9:30 am"},"featured_img_caption":"","series_order":"","_links":{"self":[{"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/posts\/6069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/comments?post=6069"}],"version-history":[{"count":15,"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/posts\/6069\/revisions"}],"predecessor-version":[{"id":6149,"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/posts\/6069\/revisions\/6149"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/media\/6084"}],"wp:attachment":[{"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/media?parent=6069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/categories?post=6069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icdsoft.com\/blog\/wp-json\/wp\/v2\/tags?post=6069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}