• Hello guys, this plugin looks awesome! After activating plugin:
    Parse error: syntax error, unexpected ‘[‘ in /home/httpd/zahradesign.sk/www/wp-content/plugins/woocommerce-embed/includes/class-wc-embed.php on line 374

    So I’ve edited it to

    $iframe_data = array(
    			'wce_embed_products' => (is_cart() ? $this->get_cart_ids() : get_the_ID()),
    			'wce_embed' => '1',
    			'wce_embed_site_url' => site_url(),
    		);

    that solved it. However after embeding product, this appeared on site, where iframe was posted
    Fatal error: Using $this when not in object context in /home/httpd/zahradesign.sk/www/wp-content/plugins/woocommerce-embed/includes/class-wc-embed.php on line 138
    Thanks guys!

    https://www.ads-software.com/plugins/woocommerce-embed/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    This plugin is great but I have the same error:

    Fatal error: Using $this when not in object context in

    /wp-content/plugins/woocommerce-embed/includes/class-wc-embed.php on line 138

    Patrick

    Plugin Author Peter Elmered

    (@pekz0r)

    Hello. I’m sorry for the late reply. I will look into this sometime this week and see what I can do.

    pgelinaud

    (@pgelinaud)

    thank…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Some issues’ is closed to new replies.