Reply To: "Argument #1 is not an array" error when modifying an existing record

Home Forums Store Locator Plus "Argument #1 is not an array" error when modifying an existing record Reply To: "Argument #1 is not an array" error when modifying an existing record

#12129

Lance Cleveland
Keymaster

The custom page that goes along with new locations cannot be created. You have wp_error disabled which is why the second error is happening. That will be fixed in the 3.11.17 patch coming shortly.

That issue is caused due to the problem with the first issue. For some reason the pageData array is not being setup properly. Without seeing it “in person” I cannot begin to guess why other than possibly a linked_id field was reset inadvertently while making MySQL changes outside of the plugin.

You can install Debug Bar and Debug My Plugin to gain more insight. Go through the same process that creates the error (after getting the 3.11.17 patch) and you should be able to look at the Debug panels so you can give me some info on what is going on with your setup. There should be a panel called “SLP Main” with a section under “set_PageData” that will give some indication of what is going on.