$_REQUEST['referrer'] is not in the list...
But here is the code from the delete item action including error message
Action here is: delete item 1 - dfdfddf
↑ ↓ Query Label: deleteitemstatus
↑ ↓ Values to be made safe: Array
(
[itemId] => 1
[type] =>
)
↑ ↓ Sort array: Array
(
[categoryselectbox] => `category` ASC
[getchildren] => `dateCompleted` DESC, `deadline` DESC, `title` ASC
[getitems] => `title` ASC
[getitemsandparent] => `type` ASC, `ptitle` ASC, `title` ASC, `deadline` ASC, `dateCreated` DESC
[getorphaneditems] => `type` ASC, `title` ASC
[spacecontextselectbox] => `name` ASC
[timecontextselectbox] => `timeframe` DESC
)
↑ ↓ Query: DELETE FROM `gtdphp_itemstatus` WHERE `itemId`='1'
↑ ↓ Query Result: 1
↑ ↓ Query Label: deleteitem
↑ ↓ Values to be made safe: Array
(
[itemId] => 1
[type] =>
)
↑ ↓ Sort array: Array
(
[categoryselectbox] => `category` ASC
[getchildren] => `dateCompleted` DESC, `deadline` DESC, `title` ASC
[getitems] => `title` ASC
[getitemsandparent] => `type` ASC, `ptitle` ASC, `title` ASC, `deadline` ASC, `dateCreated` DESC
[getorphaneditems] => `type` ASC, `title` ASC
[spacecontextselectbox] => `name` ASC
[timecontextselectbox] => `timeframe` DESC
)
↑ ↓ Query: DELETE FROM `gtdphp_items` WHERE `itemId`='1'
↑ ↓ Query Result: 1
↑ ↓ Query Label: deletelookup
↑ ↓ Values to be made safe: Array
(
[itemId] => 1
[type] =>
)
↑ ↓ Sort array: Array
(
[categoryselectbox] => `category` ASC
[getchildren] => `dateCompleted` DESC, `deadline` DESC, `title` ASC
[getitems] => `title` ASC
[getitemsandparent] => `type` ASC, `ptitle` ASC, `title` ASC, `deadline` ASC, `dateCreated` DESC
[getorphaneditems] => `type` ASC, `title` ASC
[spacecontextselectbox] => `name` ASC
[timecontextselectbox] => `timeframe` DESC
)
↑ ↓ Query: DELETE FROM `gtdphp_lookup` WHERE `itemId` ='1'
↑ ↓ Query Result: 0
↑ ↓ Query Label: deletelookupparents
↑ ↓ Values to be made safe: Array
(
[itemId] => 1
[type] =>
)
↑ ↓ Sort array: Array
(
[categoryselectbox] => `category` ASC
[getchildren] => `dateCompleted` DESC, `deadline` DESC, `title` ASC
[getitems] => `title` ASC
[getitemsandparent] => `type` ASC, `ptitle` ASC, `title` ASC, `deadline` ASC, `dateCreated` DESC
[getorphaneditems] => `type` ASC, `title` ASC
[spacecontextselectbox] => `name` ASC
[timecontextselectbox] => `timeframe` DESC
)
↑ ↓ Query: DELETE FROM `gtdphp_lookup` WHERE `parentId` ='1'
↑ ↓ Query Result: 0
↑ ↓ referrer
Warning: strpos() expects parameter 1 to be string, array given in E:\Program Files\Ontwikkeling\Wampserver\www\1-Ontwikkeling\gtdphp\processItems.php on line 576
↑ ↓ Query Label: selectlastmodified
↑ ↓ Values to be made safe: Array
(
[itemId] => 1
[type] =>
)
↑ ↓ Sort array: Array
(
[categoryselectbox] => `category` ASC
[getchildren] => `dateCompleted` DESC, `deadline` DESC, `title` ASC
[getitems] => `title` ASC
[getitemsandparent] => `type` ASC, `ptitle` ASC, `title` ASC, `deadline` ASC, `dateCreated` DESC
[getorphaneditems] => `type` ASC, `title` ASC
[spacecontextselectbox] => `name` ASC
[timecontextselectbox] => `timeframe` DESC
)
↑ ↓ Query: SELECT UNIX_TIMESTAMP(`lastModified`) AS `lastModified`
,`lastModified` AS `lmreal`
FROM `gtdphp_itemstatus`
WHERE `itemId` = '1'
↑ ↓ Query Result: 0