Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Fatal Error with Cart 66 Shopping Cart Widget
Tagged: cart66, fatal error, wp affiliate platform
- This topic has 6 replies, 3 voices, and was last updated 11 years, 6 months ago by admin.
-
AuthorPosts
-
January 14, 2013 at 11:36 pm #8333magmedMember
I just installed and activated WP Affiliate Platform on a site running Cart66 Lite Version 1.5.1. I got this error on my sidebar where I have the Cart66 shopping cart widget:
Fatal error: Cart66CartWidget::widget() [cart66cartwidget.widget]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Cart66Cart" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/magmed/public_html/wp-content/plugins/cart66-lite/models/Cart66CartWidget.php on line 19
If I remove the widget it is fine, but I really need to have the shopping cart shown in the sidebar.
I deactivated the WP Affiliate Platform plugin
I am using WordPress version 3.5
Any ideas how to fix this?
January 15, 2013 at 10:32 pm #53050adminKeymasterReading that error, it doesn’t seem to have anything to do with the affiliate plugin. Did you try upgrading that plugin to the latest? I know that 1.5.1 is not the latest. On my test site I installed the latest copy of both the plugin and I don’t see any error.
January 21, 2013 at 2:09 am #53051magmedMemberI updated the Cart66 Lite plugin to the latest version and activating the WP Affiliate Plugin still produces the same error on the Cart66 Widget.
However, I also added both plugins to another test site and there was no problem with the widget on that site. I tried different themes, but that didn’t change anything.
In the error message it mentions line 19, which reads:
$this->_items = Cart66Session::get(‘Cart66Cart’)->getItems();
Is there anything obvious that needs changing in that line?
January 21, 2013 at 11:27 pm #53052adminKeymasterThis sounds a little strange. That line of code you are referring to is coming from the cart66 plugin so I couldn’t advise you on that.
I would delete both the plugins from the install where you see this error then install a fresh copy of the plugins. You won’t lose any data if you re-install the plugins.
January 23, 2013 at 3:57 am #53053magmedMemberI reinstalled both plugins and the same thing happens. I also noticed that with the WP Aff Plugin activated, the WordPress admin bar that appears at the top of the front end of the site disappears, and there’s just a white space where the grey bar should be.
May 28, 2013 at 3:00 pm #53054SunShineMemberMaybe I can help you) During couple of days tried to deal with just the same error.
Please, open Dashboard. Go to Cart66 -> Settings -> tab Debug -> Session Management and change Database Sessions to YES.
Save changes:)
May 29, 2013 at 2:01 am #53055 -
AuthorPosts
- You must be logged in to reply to this topic.