Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Cart Widget Error

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Cart Widget Error

Tagged: cart, error, widget

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 9 months ago by gamehermit.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 19, 2011 at 1:34 am #3835
    gamehermit
    Member

    Hi Everyone,

    The cart implementation is going great…but I just ran into a little snag. I added the Cart Widget to the side bar but the following errors are displayed in the widget itself (this is in the backend where you chose the widgets)…the widget seems to be running fine on the front end…weird:

    First Error:

    Warning: strpos() expects parameter 1 to be string, array given in /home/pumpkin/public_html/wptest/wp-content/themes/PumpkinLady1024_5/library/misc.php on line 15

    Here’s the code that it’s pointing out:

    function theme_is_vmenu_widget($id){

    return (strpos($id, ‘vmenu’) !== false); <– Line 15 —

    }

    Second Error:

    Warning: Illegal offset type in isset or empty in /home/pumpkin/public_html/wptest/wp-content/themes/PumpkinLady1024_5/library/misc.php on line 4

    Here’s the code that it’s pointing out:

    function theme_get_array_value($arr = array(), $key = null, $def = false){

    if (is_array($arr) && isset($arr[$key])){ <– Line 4 —

    return $arr[$key];

    }

    return $def;

    }

    Thanks,

    Jack

    July 19, 2011 at 5:50 am #34444
    amin007
    Participant

    This erros is not coming from the eStore plugin not sure why the theme would show an error for a plugin widget. Your theme developer should be able to enlighten this for you.

    You don’t have to use the widget that comes with eStore. You can simply add a “Text Widget” to your side bar and use one of the shortcodes to display the shopping cart to show it in the sidebar.

    July 26, 2011 at 8:49 am #34445
    gamehermit
    Member

    Just wanted to follow up that the issue, for me, was caused by a conflict with the “Dynamic Widgets” plugin. I disabled the plug in and all is well :)

    Thanks,

    Jack

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ