Support » Plugin: Multiple external product URLs for WooCommerce » PHP error at 3.6.3, wordpress 5.2

  • iilness2

    (@iilness2)


    I got this PHP error at my part when i install this plugin and make the page cannot show up perfectly.

    PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Mepu_Woo_Frontend::render_mepu_buttons_loop(), 2 passed in /var/www/html/wordpress/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /var/www/html/wordpress/wp-content/plugins/multiple-external-product-urls-for-woocommerce/frontend/class-mepu-woo-frontend.php:94
    #0 /var/www/html/wordpress/wp-includes/class-wp-hook.php(286): Mepu_Woo_Frontend->render_mepu_buttons_loop('<a href="https:...', Object(WC_Product_External))
    #1 /var/www/html/wordpress/wp-includes/plugin.php(208): WP_Hook->apply_filters('<a href="https:...', Array)
    #2 /var/www/html/wordpress/wp-content/themes/porto/woocommerce/loop/add-to-cart.php(81): apply_filters('woocommerce_loo...', '<a href="https:...', Object(WC_Product_External))
    #3 /var/www/html/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include('/var/www/html/w...')
    #4 /var/www/html/wordpress/wp-content/plugins/woocommerce/includes/wc" while reading response header from upstream, client: 114.124.143.214, server: alderonpoly.printaja.ga, request: "GET /product/alderon-r830-atap-upvc-berongga-10mm-garansi-resmi-10-tahun/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "alderonpoly.printaja.ga"

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.