Support » Plugin: Yakkyofy » Bugs in Yakkyofy Plugin

  • Resolved mehranattari

    (@mehranattari)


    Hye Yakkyofy team,

    Recently, I installed the plugin and connected my store to the Yakkyofy. Then for some reasons, I disconnected the store in the Yakkyofy plugin settings.

    Here are the bugs that I found.

    • When I tried to reconnect the plugin, it was not working. It was not taking the login info.
    • When I tried to update a product, it threw a fatal error, and it was due to the Yakkyofy plugin.
    • When I tried to delete or uninstall the plugin, it was giving me fatal errors
    • I managed to uninstall the plugin by wrapping the problematic code into a condition. The issue was in the uninstall.php file in the y_uninstall() function, at line # 59.

      It was actually trying to run a function called yakkyofy_request() but it was not found. Please at least check if that function exists before calling then include the functions/functions.php file and it’ll work.

      Please check the plugin, and resolve this issue if possible.

      Best.

    • This topic was modified 10 months, 3 weeks ago by mehranattari.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter mehranattari

    (@mehranattari)

    Update:
    When I try to connect through the plugin after putting the Yakkyofy login info. It gives me the cURL SSL error. But when I connect through the Yakkyofy app, it works smoothly.

    Error Screenshot
    https://imgur.com/0JxJlY7

    Thread Starter mehranattari

    (@mehranattari)

    Update:
    Got the following error while viewing the product that I imported from the Yakkyofy app. BTW, I am using PHP 8.

    An error of type E_ERROR was caused in line 321 of the file /var/www/html/wp-content/plugins/yakkyofy/vendor/wpbp/cpt_columns/CPT_Columns.php.
    Error message: Uncaught TypeError: Illegal offset type in isset or empty in /var/www/html/wp-content/plugins/yakkyofy/vendor/wpbp/cpt_columns/CPT_Columns.php:321
    
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(287): CPT_columns->_column_orderby()
    #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /var/www/html/wp-includes/plugin.php(551): WP_Hook->do_action()
    #3 /var/www/html/wp-includes/class-wp-query.php(1779): do_action_ref_array()
    #4 /var/www/html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts()
    #5 /var/www/html/wp-includes/post.php(2065): WP_Query->query()
    #6 /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php(147): get_posts()
    #7 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Variable_Data_Store_CPT->read_children()
    #8 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php(228): WC_Data_Store->__call()
    #9 /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php(289): WC_Product_Variable->get_visible_children()
    #10 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Variable_Data_Store_CPT->read_price_data()
    #11 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php(81): WC_Data_Store->__call()
    #12 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php(149): WC_Product_Variable->get_variation_prices()
    #13 /var/www/html/wp-content/plugins/woocommerce/includes/admin/list-tables/class-wc-admin-list-table-products.php(216): WC_Product_Variable->get_price_html()
    #14 /var/www/html/wp-content/plugins/woocommerce/includes/admin/list-tables/abstract-class-wc-admin-list-table.php(261): WC_Admin_List_Table_Products->render_price_column()
    #15 /var/www/html/wp-includes/class-wp-hook.php(287): WC_Admin_List_Table->render_columns()
    #16 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #17 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #18 /var/www/html/wp-admin/includes/class-wp-posts-list-table.php(1269): do_action()
    #19 /var/www/html/wp-admin/includes/class-wp-list-table.php(1439): WP_Posts_List_Table->column_default()
    #20 /var/www/html/wp-admin/includes/class-wp-posts-list-table.php(1302): WP_List_Table->single_row_columns()
    #21 /var/www/html/wp-admin/includes/class-wp-posts-list-table.php(749): WP_Posts_List_Table->single_row()
    #22 /var/www/html/wp-admin/includes/class-wp-posts-list-table.php(726): WP_Posts_List_Table->_display_rows()
    #23 /var/www/html/wp-admin/includes/class-wp-list-table.php(1351): WP_Posts_List_Table->display_rows()
    #24 /var/www/html/wp-admin/includes/class-wp-list-table.php(1278): WP_List_Table->display_rows_or_placeholder()
    #25 /var/www/html/wp-admin/edit.php(474): WP_List_Table->display()
    #26 {main} thrown
    Thread Starter mehranattari

    (@mehranattari)

    Update:
    I managed to avoid the error by returning null without executing the function _column_orderby( $query ) on line # 315 in CPT_Columns.php file.

    i.e.

    function _column_orderby( $query ) {
        return; // just a hack to ignore column ordering and avoid fatal error
        if ( !is_admin() ) {
    	return;
        }
    .....

    But this should be fixed by plugin developers.

    Thread Starter mehranattari

    (@mehranattari)

    @yakkyofy team, please let us know any updates about these bugs.

    Any updates?

    Plugin Author Yakkyofy

    (@yakkyofy)

    Hi,

    I’m sorry for the delay in my response and thank you for the detailed information, It’s very helpful.

    I have shared this with out development team who are currently working to resolve this issue.

    I just installed the Plugin but the login error continues, it generates invalid credentials error but they are correct and the connection with wordpress is not allowed.

    The error of deleting the plugin seems to have been solved.

    Is there any way I can re-connect my account and log in?

    Plugin Author Yakkyofy

    (@yakkyofy)

    Hi,

    Thank you for sending us the information.

    Our team have since resolved the issue and you can now login as normal.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Bugs in Yakkyofy Plugin’ is closed to new replies.