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 and PHP 8.2 #84
Comments
Deprecated: Creation of dynamic property oiksc_404_handler::$handlers is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik-shortcodes\classes\class-oiksc-404-handler.php on line 126 |
Update code to run without problems in PHP 8.1 and 8.2 |
Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik-shortcodes\shortcodes\oik-api-importer.php on line 53 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik-shortcodes\shortcodes\oik-api-importer.php on line 187 Deprecated: Creation of dynamic property oiksc_parsed_source::$latest_md5_hash is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik-shortcodes\classes\class-oiksc-parsed-source.php on line 84 |
Message found in oik-plugins.co.uk debug.log
|
PHP 7.3 is going out of support - End of Life (EOL) - on 6 Dec 2021
PHP 7.4 active support is until midnight tonight. Security Support ( ie EOL ) is 28 Nov 2022
PHP 8.0 End of life is: 2023-11-26
PHP 8.1 was released on 25 Nov 2021. EOL is 25 Nov 2024
oik-shortcodes produces a number of Deprecated messages with PHP 8.0 such as:
Deprecated: Required parameter $component_slug follows optional parameter $file in C:\apache\htdocs\wordpress\wp-content\plugins\oik-shortcodes\classes\oik-listapis2.php on line 77
Warning: Trying to access array offset on value of type null in C:\apache\htdocs\wordpress\wp-content\plugins\oik-shortcodes\admin\oik-files.php on line 84
Notice: WP_Block_Type_Registry::register was called incorrectly. Block type "oiksp/squeeze" is already registered. Please see Debugging in WordPress for more information. (This message was added in version 5.0.0.) in C:\apache\htdocs\oikcom\wp-includes\functions.php on line 5663
Which of these are problems associated with PHP 8?
Investigate and fix
The text was updated successfully, but these errors were encountered: