Replies: 2 comments
-
@shivp2020 the error message basically tells you what to do, make that method match the interface. In public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->bindEvent('model.beforeSave', [$this, 'beforeModelSave']);
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
@shivp2020 WinterCMS already provides an official copy of the User Plus plugin here: wintercms/wn-userplus-plugin |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Subject: Assistance Required with User Profile Plugin for WinterCMS
I am currently attempting to use the User Profile plugin (https://github.com/esroyo/oc-userprofile-plugin) with WinterCMS. However, after successful installation of plugin when I try to use it, I encountered the following error message:
"Declaration of Esroyo\UserProfile\Models\Settings::__construct() must be compatible with Winter\Storm\Database\ModelInterface::__construct(array $attributes = [])"
I would greatly appreciate any assistance you could provide in resolving this issue. Alternatively, if someone is able to help convert this plugin for compatibility with WinterCMS, that would be immensely helpful as well.
Thank you for your time and support.
Beta Was this translation helpful? Give feedback.
All reactions