in “publisher.php” file,
when “create_posts” function executed, $item_slug need to encode with percent encoding before check the array_key_exists in $existing_posts.
Maybe He also used non-English characters in the file name.
in my case, i just fix it with like this (on line 233):
$encoded_item_slug = strtolower(urlencode(str_replace(" ","-", $item_slug)));
$post_id = array_key_exists( $encoded_item_slug, $existing_posts ) ? $existing_posts[ $encoded_item_slug ][ 'id' ] : 0;
-
This reply was modified 3 years, 4 months ago by imjlk.