View Issue Details

IDProjectCategoryView StatusLast Update
0005783Simple:Presserror handlingpublic2017-07-11 01:58
ReporterYellow SwordfishAssigned ToMr Papa 
PrioritynormalSeverityN/AReproducibilityhave not tried
Status closedResolutionfixed 
Product Version5.8 
Target Version5.8Fixed in Version5.8 
Summary0005783: error handler callback failure
DescriptionPHP Warning - set_error_handler() expects the argument (sp_suppress_error) to be a valid callback - file: /simple-press/sp-api/sp-api-class-spcprimitives.php - line: 175 - function: set_error_handler
TagsNo tags attached.
change_log_texterror handler callback failure
typedefect

Activities

svn

svn

2017-03-24 17:04

administrator   ~0019349

Changeset [15299] by steve on 2017-03-24 13:04:09 -0400 (Fri, 24 Mar 2017)

test issue 0005783 call class member properly

 Changed Files:

U trunk/sp-api/sp-api-class-spcprimitives.php

 Differences:

 http://websvn.simple-press.com/revision.php?repname=Simple:Press&path=%2F&rev=15299
Yellow Swordfish

Yellow Swordfish

2017-03-25 09:36

administrator   ~0019361

Isn't the actual issue here that the callback references a function named 'sp_suppress_error' when the actual function is simply named 'suppress_error' ?

Or am I missing something?
Mr Papa

Mr Papa

2017-03-25 15:47

administrator   ~0019364

its still a class member so needs to be called properly... but yes perhaps the name needs updating as well... I tried to generate the error to fully test, but couldnt :(
svn

svn

2017-03-25 16:27

administrator   ~0019366

Changeset [15306] by steve on 2017-03-25 12:27:55 -0400 (Sat, 25 Mar 2017)

test issue 0005783 call class member properly

 Changed Files:

U trunk/sp-api/sp-api-class-spcprimitives.php

 Differences:

 http://websvn.simple-press.com/revision.php?repname=Simple:Press&path=%2F&rev=15306

Issue History

Date Modified Username Field Change
2017-03-24 09:06 Yellow Swordfish New Issue
2017-03-24 17:03 Mr Papa Assigned To => Mr Papa
2017-03-24 17:03 Mr Papa Status new => assigned
2017-03-24 17:03 Mr Papa change_log_text => update
2017-03-24 17:04 svn =>
2017-03-24 17:04 svn Note Added: 0019349
2017-03-24 17:04 svn Status assigned => testing
2017-03-25 09:36 Yellow Swordfish Note Added: 0019361
2017-03-25 15:47 Mr Papa Note Added: 0019364
2017-03-25 16:27 svn =>
2017-03-25 16:27 svn Note Added: 0019366
2017-04-04 08:11 Yellow Swordfish Status testing => closed
2017-04-04 08:11 Yellow Swordfish Resolution open => fixed
2017-04-04 08:11 Yellow Swordfish Fixed in Version => 6.0
2017-04-04 08:11 Yellow Swordfish change_log_text update => error handler callback failure
2017-07-11 01:57 Mr Papa Product Version 6.0 => 5.8
2017-07-11 01:58 Mr Papa Fixed in Version 6.0 => 5.8
2017-07-11 01:58 Mr Papa Target Version 6.0 => 5.8