Skip to content


Subversion checkout URL

You can clone with
Download ZIP


CustomVariables.getCustomVariablesValuesFromNameId fails #2844

anonymous-piwik-user opened this Issue · 2 comments

2 participants


When calling to CustomVariables.getCustomVariablesValuesFromNameId the call fails with a Fatal error that says:
Fatal error: Call to undefined method Piwik_DataTable_Array::deleteColumn() in C:\inetpub\wwwroot\piwik\plugins\CustomVariables\API.php on line 87

The URL I was using to call was:

In looking at the code it looks like the problem is that deleteColumn is trying to be used to removing the pricing column but the object is not a dataTable and instead is a filtered view of the table.


Workaround (kind of) is to include the &_leavePriceViewedColumn=true parameter so that the price column gets included and the problematic code gets skipped.


(In [5790]) Fixes #2844
Thanks for the report

@anonymous-piwik-user anonymous-piwik-user added this to the 1.7 Piwik 1.7 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.