Closed (fixed)
Project:
Metatag Views Overview
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2014 at 21:11 UTC
Updated:
15 Jun 2016 at 17:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
studiosander commentedI have the same issues as above descriped. Since the update of metatag module. The hook where metatag_filter_values_from_default is loaded in metatag module is an array... So rewrite the hook of metatag_views_overview.module to an array.
Comment #2
millionleaves commentedAlso having this problem. Running Meta tag 1.4. The module isn't much use for me unless this issue is fixed, unfortunately, since the reason I need it is so I can set unique meta tags for each display in a view.
Comment #3
das.gautam commentedAlso faced the same problem, the issue was in the line 198 metatag_views_overview.module,
metatag_filter_values_from_defaults($form_state['values']['metatags'], $form['metatags']['#metatag_defaults']);
Here we need to add the language key, the following code worked for me:
// Get default language.
$default = $form['metatags']['#language'];
// Cleanup the metatags.
metatag_filter_values_from_defaults($form_state['values']['metatags'][$default], $form['metatags'][$default]['#metatag_defaults']);
Attaching a patch for it.
Comment #4
quwat commented@das.gautam27
Thanks for the patch. It works like a charm.
Comment #5
pietpomp commented#3 patch worked, thx [D7.41; Metatag 7.x-1.8].
I would suggest the issue title be adjusted as I had the same issue when adjusting the 'title' field. So maybe something like "error on save with View metatag 'Override View'".
Comment #6
moonray commentedConfirming that this patch fixed the issue in question.
Comment #7
dieppon commentedHi,
#3 patch worked, thx [D7.43; Metatag 7.x-1.14].
Can this be commit it?
Kind regards
Comment #8
dieppon commentedI have been added as a maintainer. The patch has been added to the dev branch.
Comment #10
dieppon commentedComment #11
dieppon commented