Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same thing here on a custom clean theme.

    • This reply was modified 3 months, 3 weeks ago by willnv.
    Thread Starter willnv

    (@willnv)

    I solved the issue.

    Updating the plugin and changing the trigger back to click on your popup WILL NOT SOLVE THE PROBLEM. Memorize the post ID for the popup, and completely delete the it (remove from trash afterwards), and make sure the DB settings for that popup are gone:

    Access your database and in the wp_post_meta table, search for the rows associated to your compromised popup ID and make sure there is no data. The malicious code lives inside sg_popup_scripts and sg_popup_options row.

    If you need help with this email me at [email protected]

    Thread Starter willnv

    (@willnv)

    I installed a previous version of the plugin, from more than a year ago. But I found out what was happening.

    Basically, the more recent versions are using a different DB table schema and when the plugin tries to write the command to the DB it conflicts with your current (outdated) DB table. I’m pretty sure that if you delete the plugin AND yith’s db tables (wp_yith_wapo_types) and reinstall the updated version it will work. You’ll have to replicate all you did again as if it was the first time using the plugin, so if you have a lot of products it’s unviable to do this. If you can’t do this, you’ll need to grab an old version and stick with it until you can.

    Thread Starter willnv

    (@willnv)

    This is the error log:

    WordPress database error Unknown column ‘minimum_product_quantity’ in ‘field list’
    for query INSERT INTO wp_yith_wapo_types (group_id, type, label, image, description, operator, depend, depend_variations, options, required, required_all_options, collapsed, sold_individually, first_options_free, max_item_selected, minimum_product_quantity, max_input_values_amount, min_input_values_amount, change_featured_image, calculate_quantity_sum, step, priority, reg_date, del)
    VALUES (‘4’, ‘checkbox’, ”, ”, ”, ‘OR’, ”, ”, ”, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, CURRENT_TIMESTAMP, ‘0’) made by require_once(‘wp-admin/admin.php’), do_action(‘admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, YITH_WAPO_Admin->items_update, YITH_WAPO_Type->insert, YITH_WAPO_Type->save

    • This reply was modified 3 years, 3 months ago by willnv.
    • This reply was modified 3 years, 3 months ago by willnv.
Viewing 4 replies - 1 through 4 (of 4 total)