Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bobbingwide opened this issue Sep 14, 2023 · 7 comments
Open

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

bobbingwide opened this issue Sep 14, 2023 · 7 comments
Assignees

Comments

@bobbingwide
Copy link
Owner

Update code to run without problems in PHP 8.1 and 8.2

See bobbingwide/bobbingwide#103

@bobbingwide bobbingwide self-assigned this Sep 14, 2023
@bobbingwide bobbingwide changed the title Support PHP 8.1 and 8.2 Support PHP 8.1 and PHP 8.2 Sep 19, 2023
bobbingwide added a commit that referenced this issue Sep 23, 2023
bobbingwide added a commit that referenced this issue Sep 23, 2023
bobbingwide added a commit that referenced this issue Sep 23, 2023
bobbingwide added a commit that referenced this issue Sep 23, 2023
@bobbingwide
Copy link
Owner Author

Delivered in v4.9.2

@bobbingwide
Copy link
Owner Author

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

@bobbingwide bobbingwide reopened this Nov 8, 2023
@bobbingwide
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link
Owner Author

bobbingwide commented Jan 25, 2024

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 bobbingwide changed the title Support PHP 8.1 and PHP 8.2 Support PHP 8.1, PHP 8.2 and PHP 8.3 Jan 25, 2024
bobbingwide added a commit that referenced this issue Mar 12, 2024
bobbingwide added a commit that referenced this issue Mar 12, 2024
bobbingwide added a commit that referenced this issue Mar 12, 2024
@bobbingwide
Copy link
Owner Author

Delivered in v4.10.1

@bobbingwide bobbingwide changed the title Support PHP 8.1, PHP 8.2 and PHP 8.3 Support PHP 8.1, PHP 8.2, PHP 8.3 and PHP 8.4 Nov 25, 2024
@bobbingwide
Copy link
Owner Author

bobbingwide commented Nov 25, 2024

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

@bobbingwide bobbingwide reopened this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant