Download & Extend

Call to undefined method flag_plugin_argument_validate_flaggability::_option_name()

Project:Flag
Version:7.x-3.x-dev
Component:Flag core
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

this ajax pop up appears on views contextual filter creation when we select profile2 related fields
Call to undefined method flag_plugin_argument_validate_flaggability::_option_name() in C:\wamp\www\xxx\sites\all\modules\flag\includes\views\flag_plugin_argument_validate_flaggability.inc on line 36

Comments

#1

Edit:this error occurs for any setting, i.e not restricted to profile2

#2

Urgh. This is my fault. I removed a couple of methods that were marked as 'Views 2 compatibility' (commit 93cf7f9fc31bf84a63dc8cac8a42a8e1e03fdc45) and didn't bother checking they weren't called...

#3

should i add that code from the commit diff?

#4

Status:active» needs review

No, as we want that code to stay removed.

Can you try this patch please?

AttachmentSizeStatusTest resultOperations
1890856.flag_.views-plugin-missing-methods.patch3.16 KBIdlePASSED: [[SimpleTest]]: [MySQL] 186 pass(es).View details

#5

its working thanks:)

#6

Status:needs review» fixed

Thanks!

Committed the patch.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here