Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / [RESOLVED] Error, when saving User-Profile

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[RESOLVED] Error, when saving User-Profile

  • JamesVermont
  • Topic Author
  • Offline
  • Gold
  • Gold
More
7 years 11 months ago - 7 years 11 months ago #25242 by JamesVermont
[RESOLVED] Error, when saving User-Profile was created by JamesVermont
Hello!

I get this error, when i try to save a Userprofile in AdsManager:
Fatal error: Call to a member function getPlugins() on boolean in /www/htdocs/accountnr/test.kessel.vision/components/com_adsmanager/controller.php on line 936
I only use AdsManagers standard-fields.
It happen when i try to change only the username.
The change will be stored correctly.

Joomla! Version is: 3.7.0
AdsManager Version is: 3.1.9

Greets;
James
Last edit: 7 years 11 months ago by loic.
More
7 years 11 months ago #25255 by loic
Replied by loic on topic Error, when saving User-Profile
Hello,

I will check that on my test site, I come back to you.

Best regards.
More
7 years 11 months ago #25333 by loic
Replied by loic on topic Error, when saving User-Profile
Hello,

Yes, there is a bug within the code.

Open the file 'components/com_adsmanager/controller.php' and find the line 968:
$fieldmodel	    =$this->getModel( "field" );
$usermodel->updateProfileFields($user->id,$fieldmodel->getPlugins());

Then add this line just before it :
include_once(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_adsmanager'.DS.'models'.DS.'field.php');

It will solve that issue.

Best regards.
  • JamesVermont
  • Topic Author
  • Offline
  • Gold
  • Gold
More
7 years 11 months ago #25411 by JamesVermont
Replied by JamesVermont on topic Error, when saving User-Profile
Check B)
It works!
More
7 years 11 months ago #25429 by loic
Replied by loic on topic Error, when saving User-Profile
Hello,

I mark this topic as resolved.

Best regards.
Time to create page: 0.149 seconds
Powered by Kunena Forum