• Resolved andydn

    (@andydn)


    This error keeps appearing on certain pages on our website…

    Warning: implode(): Invalid arguments passed in ladyberrycupcakes.co.uk/public_html/wp-content/plugins/woocommerce-pay-per-post/public/class-woocommerce-pay-per-post-public.php on line 390

    Line 390 = “$product_ids = implode( ‘,’, $product_ids );”

    It doesn’t appear on every page and isn’t on the protected pages.

    Any ideas??

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Interesting, what version of the plugin are you currently using?

    Thread Starter andydn

    (@andydn)

    Hi there,

    I think it’s the latest version, 2.1.12.

    Regards,
    Andy.

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Andy,
    I will investigate more and push out new version to fix that warning message asap. In the meantime you can simply disable displaying PHP warning messages in WordPress. Take a look at https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/

    Thread Starter andydn

    (@andydn)

    Hi Matt,

    That’s fantastic, thanks for your quick response!

    Regards,
    Andy.

    +1

    I’ve been seeing this in our error log for quite some time now. Also using the current version (2.1.12).

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Just letting you all know I addressed this in the 2.1.13 version that I just release. If you could download and please confirm you no longer see those warning messages that would be fantastic.

    = 2.1.13 =
    * NEW FEATURE – Added in two new filters wc_pay_per_post_all_product_args and wc_pay_per_post_virtual_product_args
    * UPDATE – Updated the virtual product filter to adhere to new WooCommerce meta values
    * UPDATE – Addressed more pages to make them translatable
    * BUG FIX – Corrected PHP warning message for invalid argument when using implode()

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning: implode(): Invalid arguments passed in…’ is closed to new replies.