bobbingwide / oik-clone

Clone content between sites
https://www.oik-plugins.com/oik-plugins/oik-clone-clone-your-wordpress-content/
GNU General Public License v2.0
5 stars 0 forks source link

Support PHP 8.1 and PHP 8.2 #23

Open bobbingwide opened 6 years ago

bobbingwide commented 6 years ago

PHP 7.2 was released on 30th November 2017. WordPress.org now recommends PHP 7.2 Therefore oik needs to run under PHP 7.2, without Errors, Warnings or Notices.

bobbingwide commented 6 years ago

Warning: count(): Parameter must be an array or an object that implements Countable in C:\apache\htdocs\wordpress\wp-content\plugins\oik-clone\admin\class-oik-clone-servers-list-table.php on line 176 when visiting https://qw/wp-pompey/wp-admin/admin.php?page=oik_clone&tab=servers&section=advanced

bobbingwide commented 9 months ago

Update code to run without problems in PHP 8.1 and 8.2

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

bobbingwide commented 9 months ago

Deprecated: Creation of dynamic property OIK_clone_block_relationships::$mapping is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\oik-clone\admin\class-oik-clone-block-relationships.php on line 210