[theme-reviewers] “How To Join WPTRT” question

Mario Peshev mario at peshev.net
Sun Jan 5 16:33:23 UTC 2014


Since there are other reports in the forum for the same problem, I guess
it's an edge case that actually happens in practice.

I'd change:

function myErrorHandler($errno, $errstr, $errfile, $errline, $errcontext) {

to

function myErrorHandler($errno, $errstr, $errfile, $errline, $errcontext =
array()) {

Since the last argument might not be passed and the context isn't used in
the function body itself.

Simon might probably want to check this too -
http://wordpress.org/support/topic/debogging-debogger-fixing-a-minor-glitch?replies=5



Mario Peshev
WordPress Engineer, Open Source Consultant
http://www.linkedin.com/in/mpeshev
http://me.peshev.net



On Sun, Jan 5, 2014 at 6:11 PM, Ivelina Popova <kaniamea at yahoo.com> wrote:

> Hi,
> A get this message on the footer after I installed the plugin.
> PHP version is 5.3.27
>
>
> <http://www.to-hawaii.com/>
>
>
>   On Sunday, January 5, 2014 6:06 AM, Mario Peshev <mario at peshev.net>
> wrote:
>   Where exactly do you get that message, on plugin activation or
> somewhere else?
>
> Also, what PHP version are you using?
>
> I can't reproduce with 3.8 myself and set_error_handler seems to pass all
> arguments normally.
>
>
> Mario Peshev
>
>
>
> On Sun, Jan 5, 2014 at 5:59 PM, Ivelina Popova <kaniamea at yahoo.com> wrote:
>
> Hi Otto,
> I get this error:
> Warning: Missing argument 5 for myErrorHandler() in
> /home/kanicom/public_html/wp-content/plugins/debogger/debog.php on line 31
> and also according to this page http://wordpress.org/plugins/debogger/the plugin is compatible up to: 3.1.4 only.
>
>
>   On Sunday, January 5, 2014 5:56 AM, Otto <otto at ottodestruct.com> wrote:
>  What doesn't work about it? Looks reasonably okay to me. Might need
> some updates for prettification, I guess.
>
> -Otto
>
>
> On Sun, Jan 5, 2014 at 9:52 AM, Ivelina Popova <kaniamea at yahoo.com> wrote:
> > Hello all,
> > I have a question. I was going through the “How To Join WPTRT” page and I
> > noticed some of the plugins don’t work with the most recent WP 3.8. for
> > example http://wordpress.org/plugins/debogger/
> > What should I do in this case?
> > Thank you.
>
> >
> > _______________________________________________
> > theme-reviewers mailing list
> > theme-reviewers at lists.wordpress.org
> > http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> >
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140105/73f33710/attachment.html>


More information about the theme-reviewers mailing list