Code is showing up on preview pages (6 posts)

  1. pbcnys2013
    Posted 2 years ago #

    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});
    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.


  2. Roy Ho
    Posted 2 years ago #

    Remove the ID from your sharethis option...another words, don't use it.. :)

  3. pbcnys2013
    Posted 2 years ago #

    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.

  4. Roy Ho
    Posted 2 years ago #

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

  5. pbcnys2013
    Posted 2 years ago #

    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?

  6. Roy Ho
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic