Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Troubleshooting

Cart Widget Error

(3 posts) (2 voices)
  • Started 10 months ago by gamehermit
  • Latest reply from gamehermit
  • Possible Solutions (Related Topics):
    1. Format Shopping Cart Widget
    2. eStore - Variation Selection in Cart Widget
    3. Error for add to cart via text link - ?wp_eStore_add_to_cart=1
    4. 'Fancy' output not displaying in member pages and widgets (no detected js errors
    5. Shopping Cart PHP Sessions error

Tags:

  • cart
  • error
  • widget
  1. 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

    Posted 10 months ago #
  2. amin007
    Key Master

    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.

    Posted 10 months ago #
  3. 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

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin