• Resolved Salvatore

    (@mistyanet)


    Hello there,
    when I try to use wp-cli on my WordPress install I get this error

    PHP Fatal error: Trait method get_formatted_script_tag_new has not been applied, because there are collisions with other trait methods on WCPM\Classes\Pixels\Pixel_Manager in /var/www/vhosts/sitobuffo.it/httpdocs/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-pixel-manager.php on line 16

    how to fix? I’m running the latest

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author alekv

    (@alekv)

    Do you have the free and the pro version installed?

    What wp-cli command are you using?

    A method get_formatted_script_tag_new doesn’t exist in the newer versions of the Pixel Manager for WooCommerce. So you must have some old version still running.

    Thread Starter Salvatore

    (@mistyanet)

    Hi Alekv,
    my bad, I was running the latest of another plugin with a similar name.
    I updated your plugin and now wp-cli is running flawless.

    Plugin Author alekv

    (@alekv)

    Great. Thanks for letting me know.

    Regards
    Aleksandar

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I can’t use wp cli’ is closed to new replies.