Closed (fixed)
Project:
Payment
Version:
7.x-1.9
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2014 at 06:43 UTC
Updated:
19 Nov 2016 at 23:13 UTC
Jump to comment: Most recent
After the last update (not dev), I got:
Fatal error: Class 'PaymentMethodController' not found in /home/{site}/public_html/sites/all/modules/payment/paymentmethodbasic/paymentmethodbasic.module on line 88
I had to disable the Payment module to re-activate the site.
Any feedback is appreciated.
Comments
Comment #1
xanoThis is a problem with your Drupal site, and not with Payment. This type of error message is not uncommon in Drupal 7, which has its own mechanism for autoloading classes that sometimes fails. Look up the error message online and you will find several possible ways to solve the problem.
Comment #3
vako commentedWell, I did a search for
Class 'PaymentMethodController' not foundon Google and Drupal.org and couldn't find any other post other than this one.If anyone has a link or suggestion, please post it here. Thank you.
Xano, if you definitely sure that it's a general Drupal issue, you must have a link or something that you might have seen.
Comment #4
xanoThe problem is not related to this particular class. There are three reasons why Drupal's class autoloader cannot find a class (any class):
I don't know the exact cause of the problem, but I do know it's not Payment.
Comment #5
Anonymous (not verified) commentedHaving this problem with version 7.16, I made these steps:
1. temporary remove the code that generated the problem
2. clear cache, result: a lot of warnings complaining about changes in Payment and a warning about de removed code of step 1
3. clear cache again: result: warnings only about de removed code of step 1
4. placed the removed code back in position
5. cleared cache: no warnings.
Hope this helps others.
Comment #6
vako commentedHi Jaapx, which code did you remove?