I am getting a menu item on my site called "Delete Entry."
When I visit the link I am sent to:
http://www.EXAMPLE.com/workflow/log/delete
and I see:
"Delete entry
* warning: Missing argument 1 for workflow_ng_log_delete_entry() in /home/content/EXAMPLE/html/modules/workflow_ng/workflow_ng_log/workflow_ng_log.module on line 197.
* warning: Missing argument 2 for workflow_ng_log_delete_entry() in /home/content/EXAMPLE/html/modules/workflow_ng/workflow_ng_log/workflow_ng_log.module on line 197.
* user warning: Query was empty query: in /home/content/EAMPLE/html/includes/database.mysql.inc on line 172.
Are you sure you want to delete the entry ?
{Delte}Cancel"
If I click "delete", I get confirmation that the entry was deleted, but above that i get the following error:
"
* warning: Missing argument 1 for workflow_ng_log_delete_entry() in /home/content/EXAMPLE/html/modules/workflow_ng/workflow_ng_log/workflow_ng_log.module on line 197.
* warning: Missing argument 2 for workflow_ng_log_delete_entry() in /home/content/EXAMPLE/html/modules/workflow_ng/workflow_ng_log/workflow_ng_log.module on line 197.
* user warning: Query was empty query: in /home/content/EXAMPLE/html/includes/database.mysql.inc on line 172.
* user warning: Table 'EXAMPLE.workflow_ng_log_' doesn't exist query: DELETE FROM workflow_ng_log_ WHERE mid = 0 in /home/content/EXAMPLE/html/includes/database.mysql.inc on line 172.
And, on top of everything, the "Delete Entry" stays on the menu.
Any help would be great.
Thanks,
Keith
(as you can tell I am rather new to this)
Comments
Comment #1
lka commentedI was able to make it "go away" by unchecking the item below in the Workflow admin/build/modules
Per-Entity Logs 5.x-2.0 ---- Provides per-user and per-node logs which can be written to by actions and presented using views.
Not really fixed, and that menu item was annoying, but for the time being, it not a visible issue.
Comment #2
jvandyk commentedGuessing on the version here, but this is not a workflow issue since the errors are coming from workflow_ng.
Comment #3
fagoindeed, the per entity logging module used the same menu path as workflow. I've fixed that in 5.x-2.x-dev.
Comment #4
katin commentedYou can also disable the "Per-Entity Logs" module in the Workflow-ng group. That removes the "Delete entry" menu item from the Navigation menu, along with the "Content log messages" menu item. You'd still have the workflow-ng functionality, just not the individual action logging functions.
I see that the dev snapshot referenced above changed the menu access perms for the "Delete entry" menu item, so that should keep it from non-logged-in users as well (if you update your code to the dev version).
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.