Viewing 3 replies - 1 through 3 (of 3 total)
  • Pls which version work correctly for you?

    Thread Starter scaryfresh

    (@scaryfresh)

    I just removed the update at the bottom of the plugin file (wp-content/owl-carousel/owlcarousel.php)

    /**
     * Version 0.3 to 0.4 fix for custom taxonomy
     */
    $con = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
    mysqli_query($con, "UPDATE " . $wpdb->prefix . "term_taxonomy SET taxonomy = 'Carousel' WHERE term_taxonomy_id IN (SELECT term_taxonomy_id FROM " . $wpdb->prefix . "posts INNER JOIN " . $wpdb->prefix . "term_relationships ON " . $wpdb->prefix . "term_relationships.object_id = " . $wpdb->prefix . "posts.ID WHERE post_type = 'owl-carousel') ");

    If you have a clean install with no need to update old posts you can remove this. If not maybe run the update manually until they release a fix.

    Plugin Author pjehan

    (@pjehan)

    Hi,

    Thanks a lot for the feedback.
    I updated the code to check if the mysql connection is working.

    Will be fix in the next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Version 0.3 to 0.4 fix for custom taxonomy BROKEN’ is closed to new replies.