Error Msg on paypal payment callback

10 years 2 months ago #100558 by Talal
Hi all,

I've the following error message after a successful paypal payment. Strangely enough, apart from the error message in the logs, all seems working fine...

Any ideas ?

Thank You
Talal.

CBSubs 1.0.1 / CB 1.2
Error Message in Apache logs:
[Sun May 31 22:45:39 2009] [error] [client X.X.X.X] PHP Warning: call_user_func_array() [<a href='function.call-user-func-array'>
function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'JDocumentRAW::addCustomTag' was given in /var/www/html/XXX/administrator/components/com_comprofiler/plugin.foundation.php on line 1484, referer: https://XXX/XXX/pluginclass.html?tx=4LU67044L2152024V&st=Completed&amt=4.95&cc=USD&cm=66&item_number=S102-495-12&user=495&
plugin=cbpaidsubscriptions&cbpaidsubscriptionsmethod=paypal&
cbpaidsubscriptionsgacctno=3&cbpaidsubscriptionspdtback=63e65bd1f0f85e56edf968a00e1c7cd4&cbpaidsubscriptionsbasket=66&
result=success&cbpid=cbp4a2307f3618a3512155194&
sig=kghrHUJCNCl102fJWOD%252fWKCW305U6uuOCMHEpkG8dUyRuKJ0BnlUMUdhyuYCpeeQM8lXflxJ7f19DPxwW6W2SvajumK%252briMbyRhJ34eA%252foOGy8mj%252bFKwrOMddxaAx3YAZEYejYD03qQeq9xXpBdm8WVufzzFFcPBytbzPZ3XUIM%253d&
merchant_return_link=Return+to+XXX+XXX&auth=5XwP4Oi3GIZ6F3mVFQAHeK0bUlvtXqMuFNBd3kwU-3ek6pAcklAWQMQeiptM0nJSUSs2TsAUxMNOef1K&
form_charset=UTF-8

Post edited by: nant, at: 2009/07/08 20:50

Post edited by: nant, at: 2009/07/08 20:51

Post edited by: nant, at: 2009/07/08 20:52
10 years 2 months ago #101197 by beat
Thanks for reporting this minor issue. Nothing major, can be safely ignored.

But will be fixed.

#1043
#275

Post edited by: beat, at: 2009/06/06 02:11

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
10 years 1 month ago #104193 by beat
This turns out to be a joomla 1.5.1-1.5.12 bug which is worked around in upcoming CB 1.2.2.

The issue has been reported to Joomla core devs.

Workaround: fix joomla until we release CB 1.2.2 with workaround in CB:

open file libraries/joomla/document/document.php

and add this empty function in it inside class JDocument:

[code:1]function addCustomTag( $html ) { }
[/code:1]

e.g. around line 460 just before:
[code:1]function addStyleSheet($url, $type = 'text/css', $media = null, $attribs = array())
[/code:1]

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
10 years 1 month ago #104200 by beat
For those tech-savy people wishing to follow-up the conversation with Joomla devs regarding this issue, here is the public link to the mailing-list:

groups.google.com/group/joomla-dev-cms/browse_thread/thread/92a6a9e1db801ab7?hl=en-GB

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
10 years 1 month ago #104700 by flower.ent
In my document.php there is no JDocument class or maybe I don't find it.

How I know how that class looks like?

Cheers
10 years 1 month ago #104827 by mic

This turns out to be a joomla 1.5.1-1.5.12 bug which is worked around in upcoming CB 1.2.2.

Sorry, but this is not truth (i am really tired to read always here at CB the argument ' .... the others are wrong ... '.
It is clearly the way, php (5.3) has changed some of their functions!
See and read by yourself: http://at2.php.net/migration53

Joomla has indicated, that the next release (1.5.13) may (!!) support php 5.3!

Post edited by: mic, at: 2009/07/14 13:59
Moderators: beatnantkrileon
Time to create page: 0.393 seconds
Facebook Twitter Google LinkedIn