WordPress.org

Support

Support » Plugins and Hacks » Code is showing up on preview pages

Code is showing up on preview pages

  • pbcnys2013

    @pbcnys2013

    I am very new with Woo and do not understand why code is showing up on my saved pages:

    Warning: current() expects parameter 1 to be array, boolean given in /home/content/04/11450304/html/wp-content/plugins/woocommerce/classes/integrations/sharethis/class-wc-sharethis.php on line 90
    var switchTo5x=true; stLight.options({publisher: “b276db4d-d6bc-48e5-a074-f1fa404d2927”, doNotHash: false, doNotCopy: false, hashAddressBar: false});
    Description
    Reviews (0)
    – See more at: http://bestbargainmart.com/?post_type=product&p=190&preview=true#sthash.c7DdrN5d.dpuf

    I have not published the site yet becuase I am still constructing it. In fact, a may never publish this using Woo if ZI cannot fix the code visibility issue.

    Someone that has children and can explain in baby steps help this rookie please.

    Thank you in advance for your help.

    http://wordpress.org/plugins/woocommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Roy Ho

    @splashingpixelscom

    Remove the ID from your sharethis option…another words, don’t use it.. 🙂

    pbcnys2013

    @pbcnys2013

    Thank you sooo much for answering my post. I went into settings – sharing- and disabled the social options. I also went into iFeatures by Cyberchimp and disabled the social sharing. It did not resolve my issue.

    Please help me some more.

    Thanks in advance.

    Roy Ho

    @splashingpixelscom

    It works for me. Do you have some sort of caching plugin?

    pbcnys2013

    @pbcnys2013

    I do I have to empty the cache when I update, delete or make any changes. If I uninstall Woo Commerce will I delete all of the work that I did? I think that may be the only way.

    What do you think?

    Roy Ho

    @splashingpixelscom

    You shouldn’t need to deactivate WC. I would suggest you deactivate the caching plugin as it is a pain in the neck when developing your site as it causes false positives when debugging issues. Caching is only needed after your site is setup and running. Turn it off any other times like debugging, fixing…etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Code is showing up on preview pages’ is closed to new replies.