Post by Jgonzo0010 » Wed May 24, 2017 2:24 am

Noticed a problem today when trying to activate my Google Base feed into the Google Merchant center. OC Version 2.3.0.2 When I go to edit the extension I get this error:

Code: Select all

Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 20Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 22Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 23Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 25Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 26Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 28Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 29Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 31Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 36Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 39Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 41Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 47Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 53Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 59Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 61Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 66Notice: Indirect modification of overloaded property ControllerFeedGoogleBase::$data has no effect in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 69
Fatal error: Uncaught Error: Call to undefined method ControllerFeedGoogleBase::render() in /home/legendsv/public_html/admin/controller/feed/google_base.php:77 Stack trace: #0 /home/legendsv/public_html/system/engine/action.php(51): ControllerFeedGoogleBase->index() #1 /home/legendsv/public_html/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array) #2 /home/legendsv/public_html/system/engine/action.php(51): ControllerStartupRouter->index() #3 /home/legendsv/public_html/system/engine/front.php(34): Action->execute(Object(Registry)) #4 /home/legendsv/public_html/system/engine/front.php(29): Front->execute(Object(Action)) #5 /home/legendsv/public_html/system/framework.php(103): Front->dispatch(Object(Action), Object(Action)) #6 /home/legendsv/public_html/system/startup.php(124): require_once('/home/legendsv/...') #7 /home/legendsv/public_html/admin/index.php(19): start('admin') #8 {main} thrown in /home/legendsv/public_html/admin/controller/feed/google_base.php on line 77
Any help is greatly appreciated. I believe this may be carried over from an update from v 1.5. I'm thinking a worst case is to remove extension and reinstall but I'm not sure how to accomplish this.

Thanks!

Newbie

Posts

Joined
Wed May 24, 2017 1:56 am

Post by uksitebuilder » Wed May 24, 2017 4:54 pm

You are either using a wrong extension for your opencart version of have upgraded your opencart and have left the old versions files in place

OC 2302 moved a lot of files in to an extension folder

e.g.

catalog/controller/feed/google_base.php

is now in

catalog/controller/extension/feed/google_base.php

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Jgonzo0010 » Wed May 24, 2017 9:38 pm

Thanks for the response! You are correct, it was an upgrade from a previous version and the old extension files are still in place under:
/catalog/controller/feed

So what would be the best solution? Remove old extension by deleting the old extension files? Or do they need to be moved to the new location?
The new location does have the google_base.php files.

Newbie

Posts

Joined
Wed May 24, 2017 1:56 am

Post by Jgonzo0010 » Wed May 24, 2017 9:45 pm

Got it fixed. Thanks again for the help. I simply removed old feed directory from both:
\admin\controller\feed
\catalog\controller\feed

Newbie

Posts

Joined
Wed May 24, 2017 1:56 am
Who is online

Users browsing this forum: No registered users and 25 guests