bobbingwide / oik

OIK Information Kit
https://www.oik-plugins.com/oik-plugins/oik
GNU General Public License v2.0
2 stars 0 forks source link

Support PHP 8.1, PHP 8.2, PHP 8.3 and PHP 8.4 #220

Open bobbingwide opened 1 year ago

bobbingwide commented 1 year ago

Update code to run without problems in PHP 8.1 and 8.2

See https://github.com/bobbingwide/bobbingwide/issues/103

bobbingwide commented 1 year ago

Delivered in v4.9.2

bobbingwide commented 1 year ago

Re-opened since I found another problem while testing #221

bobbingwide commented 11 months ago

Deprecated: Automatic conversion of false to array is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik\libs\oik_plugins.php on line 468

bobbingwide commented 10 months ago

When oik-plugins is activated but oik-shortcodes is not then the following message is displayed in the block editor when displaying the Fields meta box.

Warning: Undefined array key "_component_version" in C:\apache\htdocs\wordpress\wp-content\plugins\oik\includes\bw_metadata.php on line 435 other messages follow due to attempting to access values from null.

These messages are due to the fact that the _component_version field is defined in oik-shortcodes. It's associated to the oik-plugins CPT by oik-plugins, without checking if the field has been defined.

bobbingwide commented 10 months ago

Following message was displayed visiting https://s.b/hm/wp-admin/admin.php?page=oik_clone&tab=servers&section=advanced

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\apache\htdocs\wordpress\wp-content\plugins\oik\includes\oik-list-table.php on line 67

Also, need to support PHP 8.3 as well now that I'm running it locally.

bobbingwide commented 8 months ago

Delivered in v4.10.1

bobbingwide commented 5 days ago

PHP 8.4.1 is now available for Windows. Need to test and update where necessary. Here's a message from oik-plugins.co.uk that needs looking at.

s.b/oikcom/support/sitemap

[24-Nov-2024 10:25:13 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) 
of type array|string is deprecated in /home/customer/www/oik-plugins.co.uk/public_html/wp-content/plugins/oik/shortcodes/oik-jquery.php on line 380