| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
X-Payments Fatal error: Access to undeclared static property: | ||||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
X-Payments Fatal error: Access to undeclared static property:
I installed xpayments V2.0.0 and set every thing up. Logged into the admin back end and when I go to settings/payment configurations I am getting the following error.
Fatal error: Access to undeclared static property: XPay_Model_Base_Module::$this in /homPPduramax/public_html/xxxxxxxxxxx/lib/XPay/Model/Base/Module.php on line 153 Any Idea on how to fix, Submitted ticket to X-Cart, waiting for reply.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#2
|
|||||||
|
|||||||
Re: X-Payments Fatal error: Access to undeclared static property:
I've got the same error message today (and have had customer orders FAIL for the past 2 days). In my case a different line number (131) in the same module.
What's going on here?! I've made NO changes to any configurations or files in our store in the past week! Running X-Cart 4.5.5 and X-Payments 1.0.6.
__________________
Chuck Logic Rail Technologies X-Cart 4.7.10 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: X-Payments Fatal error: Access to undeclared static property:
It is due to updating PHP to v 5.4.
To fix the problem, in lines 131 and 153 of <xpayments_dir>/lib/XPay/Model/Base/Module.php change PHP Code:
to PHP Code:
Please let me know if this helps.
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
|
#4
|
|||||||
|
|||||||
Re: X-Payments Fatal error: Access to undeclared static property:
I was getting these errors too. This fixed the problem, but it looks like there are more issues.
Getting this error message when trying to lock or unlock an account. Also getting it when trying to generate new keys on this page: admin.php?target=encrypt_keys Internal errorIs there anything else that needs to be changed?
__________________
X-Cart Pro Version 4.6.1 XPayments v 1.0.6 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: X-Payments Fatal error: Access to undeclared static property:
> See logs for details.
And what the logs say? See http://help.x-cart.com/index.php?title=X-Payments:FAQ#Where_can_I_find_X-Payments_logs.3F
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#6
|
|||||||
|
|||||||
Re: X-Payments Fatal error: Access to undeclared static property:
This is the error:
Failed to perform SMTP command: ("503") "AUTH command used when not advertised" Affected systems: Core/SMTP.php file (403:assert); Core/SMTP.php file (347:doCommand); Core/SMTP.php file (419:sendCommand); Core/SMTP.php file (483:sendLoginAuth); Core/SMTP.php file (625:doAuth); Core/Mailer.php file (282penMail); Core/Mailer.php file (258:prepareQueue); Core/Dispatcher.php file (152:send); Application.php file (156:dispatch); /home/xxxxxxxx/public_html/xpay/admin.php file (26:run)
__________________
X-Cart Pro Version 4.6.1 XPayments v 1.0.6 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: X-Payments Fatal error: Access to undeclared static property:
As you can see your issue does not relate to the original one reported here. For some reason your X-Payments v1 cannot connect to SMTP server to send notifications. I suggest you to contact our techs using your HelpDesk account at https://secure.x-cart.com to figure our what's wrong with SMTP server connection on your X-Payments server.
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#8
|
|||||||
|
|||||||
Re: X-Payments Fatal error: Access to undeclared static property:
My web host decided to just revert us back to PHP 5.3. Will this change that you recommend still work for PHP 5.3? If so then I'll make the change and not have to worry about my web host changing back to PHP 5.4 in the future!
__________________
Chuck Logic Rail Technologies X-Cart 4.7.10 |
|||||||
#9
|
|||||||||
|
|||||||||
Re: X-Payments Fatal error: Access to undeclared static property:
Quote:
It should work with PHP 5.3
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#10
|
|||||||
|
|||||||
Re: X-Payments Fatal error: Access to undeclared static property:
I had the exact issue today -- and THANK YOU, Alex for sending me a fast PM reply.
Chuck, my host (Hands-on) also suggested we revert to php 5.3 for now. Alex, when you feel better, can you share any other known issues with php 5.4.x and x-payments 1.0.6 ? Thanks, Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|