CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Passed array does not specify a callable static method
Pages: [1]

Author Topic: Passed array does not specify a callable static method  (Read 4226 times)

mareligne

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • Start with the end in mind.
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Passed array does not specify a callable static method
March 13, 2012, 12:48:06 pm
I search the forum and couldn't find similar post and error information.
Site updated recently to joomla 2.5 and civicrm 4.1.1 all works fine.
I haven't experience the error before ,it happens after confirm contribution clicked and happens when civicrm process the request on form submission,It stored the information on the database but not pass the aggrement to tell a friend and sending the reciept page.
I do this and still there.
Disabling send to recipients
Disabling tell a friend
Disabling profile the error still exists.
Here is the error.
500 - Passed array does not specify a callable static method
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:

Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below..

Passed array does not specify a callable static method

Thanks In Advance
« Last Edit: March 16, 2012, 03:16:51 pm by mareligne »

mareligne

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • Start with the end in mind.
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Passed array does not specify a callable static method
March 16, 2012, 03:37:19 pm
It was the upgrade issue which resulted in after i upgrade to 2.5 i downgrade and it works fine Now.

RedHeron

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • I'm the newbie! Gotta love me!
    • United Jedi Council
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.9
Re: Passed array does not specify a callable static method
April 14, 2012, 12:05:39 pm
Error 500 - Passed array does not specify a callable static method

Having this Joomla issue too, and downgrading isn't an option I'm allowed.

This happens on all contribution form submission (right now, a free membership page is all that's live).

The data submitted all gets into the system, but I'm not sure what's going to happen next.

RedHeron

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • I'm the newbie! Gotta love me!
    • United Jedi Council
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.9
Re: Passed array does not specify a callable static method
April 14, 2012, 12:58:05 pm
Addendum: no email messages are being sent through that signup, though I can email using both SMTP and the mail() function settings normally. So, it's somewhere between "submit" and "send out a confirmation email".

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Passed array does not specify a callable static method
April 14, 2012, 01:36:52 pm

can you look at your apache error log and see if you can find out what method / function results in that error. There might be a file / line associated with the error in the log

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

RedHeron

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • I'm the newbie! Gotta love me!
    • United Jedi Council
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.9
Re: Passed array does not specify a callable static method
April 14, 2012, 02:25:44 pm
Therein lies the problem:

I'm getting no listing of the error. I even removed the old log and triggered it, and there's no trace in Apache. I'm actually suspecting PEAR for some of it.

And here's the screen-grab:

RedHeron

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • I'm the newbie! Gotta love me!
    • United Jedi Council
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.9
Re: Passed array does not specify a callable static method
April 14, 2012, 06:20:02 pm
Found SOME logs, finally! The traceback follows:

Quote
Apr 14 17:07:26  [info] Ignoring exception thrown by nullHandler: 10002,  authentication failure [SMTP: Invalid response code received from SMTP server while sending email.  This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 535, response: Incorrect authentication data)]

Apr 14 17:07:26  [info] $backTrace = /home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 546
, nullHandler,
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/packages/PEAR.php, call_user_func, 931
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/packages/PEAR.php, PEAR_Error, 566
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/packages/Mail/smtp.php, raiseError, 388
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/packages/Mail/smtp.php, getSMTPObject, 254
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Utils/Mail.php, send, 160
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/MessageTemplates.php, send, 555
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/UFGroup.php, sendTemplate, 2329
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Contribute/BAO/ContributionPage.php, commonSendMail, 172
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Member/BAO/Membership.php, sendMail, 1374
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php, postProcessMembership, 769
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php, postProcess, 254
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/StateMachine.php, mainProcess, 167
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 64
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php, handle, 284
/home/jedischo/public_html/ujc/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, run, 227
/home/jedischo/public_html/ujc/components/com_civicrm/civicrm.php, invoke, 79
/home/jedischo/public_html/ujc/components/com_civicrm/civicrm.php, civicrm_invoke, 24
/home/jedischo/public_html/ujc/libraries/joomla/application/component/helper.php, require_once, 388
/home/jedischo/public_html/ujc/libraries/joomla/application/component/helper.php, executeComponent, 357
/home/jedischo/public_html/ujc/includes/application.php, renderComponent, 198
/home/jedischo/public_html/ujc/index.php, dispatch, 42

RedHeron

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • I'm the newbie! Gotta love me!
    • United Jedi Council
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.9
Re: Passed array does not specify a callable static method
April 14, 2012, 06:23:13 pm
I reset it to mail() and am not getting a 535 any more (obviously).

Not sure how to interpret this traceback completely, since it seems to imply that the mailer is where a big part of the error is, but if that's the case then it shouldn't email when I tell it to send manually from the backend, either.


RedHeron

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • I'm the newbie! Gotta love me!
    • United Jedi Council
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.9
Re: Passed array does not specify a callable static method
April 15, 2012, 12:35:24 pm
Ugh, okay, this is something way out of my league. I may have to set up a workaround and just manually enter the data into the database using one of Joomla's other form data systems.

tso2085

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
  • CiviCRM version: 4.7.15
  • CMS version: Joomla 3.6.5
  • MySQL version: 5.5.37
  • PHP version: 5.5.30
Re: Passed array does not specify a callable static method
June 10, 2012, 08:40:53 am
I am getting the same error.  Joomla 2.5.4 and Civi 4.1.2.  Lobo, eta l, any update on this?  Obviously this is a "hard down" situation.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Passed array does not specify a callable static method
June 10, 2012, 09:03:05 am

I dont think we've reproduced / seen this error on our local install / joomla demo server

Can you please investigate and figure out whats happening and why

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

tso2085

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
  • CiviCRM version: 4.7.15
  • CMS version: Joomla 3.6.5
  • MySQL version: 5.5.37
  • PHP version: 5.5.30
Re: Passed array does not specify a callable static method
June 10, 2012, 02:36:30 pm
Looks like it is related to PDF attachments to emails.  I found this hit in the forum:

http://forum.civicrm.org/index.php/topic,24526.msg103245.html#msg103245

I turned off sending PDF attachments of receipts (as suggested in post above), and registration (contribution) now works.  I think there may be an issue created:  CRM-9807, although it says "closed" as non-reproducible.  I can reproduce it!

Lobo, Thanks for the quick reply!

Craig
« Last Edit: June 10, 2012, 02:40:35 pm by tso2085 »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Passed array does not specify a callable static method
June 10, 2012, 08:58:14 pm

can u please reproduce this on http://joomla.demo.civicrm.org/ and give us the exact steps to do so

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

tso2085

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
  • CiviCRM version: 4.7.15
  • CMS version: Joomla 3.6.5
  • MySQL version: 5.5.37
  • PHP version: 5.5.30
Re: Passed array does not specify a callable static method
July 03, 2012, 09:08:09 pm
Lobo,

I tested on the demo site, and the emails worked with the PDF attachment option.  The option setting that I am able to reproduce the error is
"Configuration Checklist">>"Miscellaneous">'Attach PDF copy to receipts"

The above referenced forum item in my previous post suggests that upgrading to php 5.3 solved the issue.   I am running the following:

Joomla 2.5.4
CiviCRM 4.1.3
PHP 5.2.17-1.el5.art

Does the demo site use PHP v5.3?  There are known issues with PHP v5.3 and some scripts, so I hesitate to upgrade.

Lobo, let me know if you would like me to do any further testing / investigation.

Thanks,
Craig

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Passed array does not specify a callable static method
July 05, 2012, 10:01:18 am

yes the demo site uses 5.3.x

so it does seem like a civi + php 5.2 issue. You might want to upgrade your php version. Its highly unlikely anyone will be interested in tracking and fixing the 5.2 issue, considering that php 5.4 is out

in general most of the civi developers use fairly recent versions of php/mysql for development and testing

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Passed array does not specify a callable static method

This forum was archived on 2017-11-26.