WordPress.org

Ready to get started?Download WordPress

Forums

  1. Becca800
    Member
    Posted 2 years ago #

    I am getting a fatal error on the store page. I have created the category and the first product. Navigated to "store" and see: Fatal error: Cannot redeclare querystring() (previously declared in /home/content/54/8181154/html/wp-content/plugins/simple-e-commerce-shopping-cart/views/store-home.php:2) in /home/content/54/8181154/html/wp-content/plugins/simple-e-commerce-shopping-cart/views/store-home.php on line 9

    http://usasharp.com/store/

    http://wordpress.org/extend/plugins/simple-e-commerce-shopping-cart/

  2. n.showket
    Member
    Plugin Author

    Posted 2 years ago #

    I have never seen this error before...please send me more details. I will fix it with in next 12 hours. PROMISE.
    Send me each steps of what you have done after installing.

    Thanks
    Niaz

  3. Becca800
    Member
    Posted 2 years ago #

    After installing, I activated it. Then I filled out the product, only one to start. Filled out the store details. I don't know what else to tell you? Looks like a pretty cool plugin, but I am not sure what this error is stemming from. Could it be a woo theme conflict? It didn't seem to be. Hey, thanks for the follow up.

  4. n.showket
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    could you please try it in any other theme.
    i cant see how you can get that error.
    if you still having the same issue on a normal theme, i will fix it.

  5. n.showket
    Member
    Plugin Author

    Posted 2 years ago #

    also pls send your theme details. will try to reproduce it in that.

  6. Becca800
    Member
    Posted 2 years ago #

    I just tried in in twenty ten, got the same error. Hmmmmmm

  7. Becca800
    Member
    Posted 2 years ago #

    Got it. The plugin "Simple Facebook Connect" was the cause. I wasn't even using it anymore, so I deactived it and VOILA . . . it worked! Sorry and thanks!

  8. Becca800
    Member
    Posted 2 years ago #

    Resolved.

  9. n.showket
    Member
    Plugin Author

    Posted 2 years ago #

    hahhaha no worries i learned something as well.
    pls keep providing me feedback and ask for support whenever you need.

  10. oeyvindda
    Member
    Posted 1 year ago #

    When I add product variations to a product, the cart/checkout will not calculate the correct price. Only the basic price is added to the cart. How do I solve this?

  11. n.showket
    Member
    Plugin Author

    Posted 1 year ago #

    send me your url...let me check

  12. escience
    Member
    Posted 1 year ago #

    Hi, I've just installed the plugin and think maybe I have the same problem as Becca800 had. This is the copy of the text on the main page "store"; Fatal error: Cannot redeclare queryString() (previously declared in /home/kwastequ/public_html/wp-content/plugins/simple-e-commerce-shopping-cart/views/store-home.php:2) in /home/kwastequ/public_html/wp-content/plugins/simple-e-commerce-shopping-cart/views/store-home.php on line 9.

    I also have a "facebook plugin" but I don't want to deactivate that one. Any chance to solve this anyway? Like Becca800 says it seems like a really cool plugin, and it was extremly easy to set up!

  13. n.showket
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    It is impossible to solve this type of problem as we dont know what other person's code is doing.

    thanks
    Niaz

  14. annapinglan
    Member
    Posted 1 year ago #

    Hi!
    I also have a problem with "Fatal error: Cannot redeclare queryString() (previously declared in /home/virtual/annapinglan.se/public_html/wp-content/plugins/simple-e-commerce-shopping-cart/views/store-home.php:2) in /home/virtual/annapinglan.se/public_html/wp-content/plugins/simple-e-commerce-shopping-cart/views/store-home.php on line 9".
    My site:
    http://www.annapinglan.se
    I have the plugin Simple Facebook Connect installed and aktivated and like it to continue to be so.
    Is there a way to get around this problem?

    Thanks
    Anna

  15. biornt
    Member
    Posted 1 year ago #

    I have the same problem and I do not have the "Simple Facebook Connect" installed (have many others of course). any solution to this? like the plugin but if this is not solved i cannot use it of course.

  16. n.showket
    Member
    Plugin Author

    Posted 1 year ago #

    You have to unsinatll everything and install my one first..get it going and than you have to start installing other one at a time to see which one is causing the issue.

    WordPress plugins always faces these issues. You just have to be patient and carefully install one a time.

    Thanks
    Niaz

  17. biornt
    Member
    Posted 1 year ago #

    well, that's not gonna work - too bad, your plugin look like a good one but we need all the other plugins. maybe we'll try on another site at a later time.

    thanks for your reply.

  18. mayorawesome
    Member
    Posted 1 year ago #

    Hey Niaz,

    Just an FYI, I was having a problem with the Simple Facebook Connect plugin. I've disabled it and all of my problems are now fixed. I have no idea what Simple Facebook Connect is doing, but for whatever reason it was jerkin' around my shopping cart.

    Here's the error message I was getting when I clicked proceed to checkout:

    Fatal error: Call to a member function checkCartInventory() on a non-object in /home/george/public_html/wp-content/plugins/wp_shopcart/models/WpShopcart.php on line 665

    Here's the relevant code that's breaking:

    public function checkInventoryOnCheckout() {
        if($_SERVER['REQUEST_METHOD'] == 'GET') {
          global $post;
          $checkoutPage = get_page_by_path('store/checkout');
          if( isset( $post->ID ) && $post->ID == $checkoutPage->ID) {
            $inventoryMessage = WpShopcartSession::get('WpShopcartCart')->checkCartInventory();
            if(!empty($inventoryMessage)) { WpShopcartSession::set('WpShopcartInventoryWarning', $inventoryMessage); }
          }
        }
      }

    This is the line that's breaking:

    $checkoutPage = get_page_by_path('store/checkout');

    After disabling Simple Facebook Connect, everything works fine.

    If anyone else out there wants to have their blog post to their Facebook Wall or Twitter, I'd recommend using a service called dlvr.it

  19. n.showket
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks
    Niaz

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.