This might be an easy fix, but I'm seeing this when opening the link popup and making a link.
Warning: Missing argument 3 for _editor_advanced_link_attributes_validate() in _editor_advanced_link_attributes_validate()
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | editor_advanced_link-missing-argument-2856342-6.patch | 675 bytes | weseze |
| #4 | editor_advanced_link-missing-argument-2856342-4.patch | 673 bytes | mylies |
Comments
Comment #1
Anonymous (not verified) commentedvilepickle created an issue. See original summary.
Comment #2
Anonymous (not verified) commentedIt looks like this may have already been fixed in dev...
Comment #3
paul dudink commentedI haven't checked whether or not this issue has been fixed, however I have been looking at the code and the "issue" is still there in the dev code:
The third parameter is $form, but $form is not being used in the function, so why is there in the first place?
The parameter should be removed.
Comment #4
mylies commented@vrijdenker - you are right, form validation\submit callback should have same hook_form_alter parameters
attached patch should fix it
Comment #5
paul dudink commentedI'm sorry I have to take back my last comment. I may have been looking at old code, since I just switched to the dev-branch and the third parameter is gone after all. So indeed the bug has been fixed in the dev-branch.
@myLies: I'm not sure whether your patch should be applied or not. The bug as mentioned by @vilepickle has been fixed after all.
Comment #6
weseze commentedAttached patch should fix it against the stable release 1.3.
Comment #7
duaelfrAlready solved by #2823686: Repeated error: missing argument 3
I'll make a new release soon