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

Some [bw_link] shortcodes are being mapped to Array #13

Open bobbingwide opened 8 years ago

bobbingwide commented 8 years ago

In http://oik-plugins.co.uk/oik-faq/upgrade-weight-zone-shipping-woocommerce-2-6/ ( ID 10147 ) which was cloned from http://qw/oikcom/oik-faq/upgrade-weight-zone-shipping-woocommerce-2-6/ (ID 22974 )

The [bw_link 22921] shortcodes to oik-weight-zone-shipping-pro ( ID 22921 in the source site ) both appear as [bw_link Array], rather than the post ID of the target post [bw_link 10119]

When you edit post 22921 there is a message in the Clone on update box. Notice: Array to string conversion in C:\apache\htdocs\wordpress\wp-content\plugins\oik-clone\admin\oik-clone-meta-box.php on line 183 http://oik-plugins.co.uk/?p=Array Aug 10, 2016 @ 9:04

This indicates that the post meta data has been corrupted.

bobbingwide commented 8 years ago

A workaround would be delete the post meta data ( key _oik_clone_ids )

a:2:{s:24:"http://oik-plugins.co.uk";a:2:{s:2:"id";a:2:{s:2:"id";i:10119;s:6:"cloned";i:1470411259;}s:6:"cloned";i:1470819881;}s:22:"http://oik-plugins.com";a:2:{s:2:"id";i:18644;s:6:"cloned";i:1470819881;}}

Another might be to attempt some self correction.