Welcome, Guest
Username Password: Remember me

JDispatcher:: Register not found error
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: JDispatcher:: Register not found error

JDispatcher:: Register not found error 12 years, 4 months ago #6558

  • impulse
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
I can't seem to get rid of this error whenever I activate the component... 

Re: JDispatcher:: Register not found error 12 years, 4 months ago #6560

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
What is the full error message (including file and line number)?

Re: JDispatcher:: Register not found error 12 years, 4 months ago #6566

  • impulse
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
The full message is read on the mobile device so I can't get the line number, it reads:

JDispatcher:::register: Event handler not recognized.

It saids it three times... I can't get rid of this

Re: JDispatcher:: Register not found error 12 years, 4 months ago #6567

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
To get more info you can patch libraries/joomla/event/dispatcher.php in the following way: replace line
JError::raiseWarning('SOME_ERROR_CODE', 'JDispatcher::register: Event handler not recognized.', 'Handler: '.$handler );

to
JError::raiseWarning('SOME_ERROR_CODE', "JDispatcher::register($event,$handler): Event handler not recognized.", 'Handler: '.$handler );

(note that single quotes have been changed to double ones).

Re: JDispatcher:: Register not found error 12 years, 4 months ago #6611

  • impulse
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Okay great, I just bookmarked this page so when I have more time I'll try this... this will fix the problem?

Re: JDispatcher:: Register not found error 12 years, 4 months ago #6612

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
No, it just get incorrect event+handler pair. But it allows to localize the issue.
  • Page:
  • 1
Time to create page: 0.14 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.