PayPal sandbox whitout payment (cancel return to shop link) return I receive the following error message:
Cannot redeclare class vmPlugin ... on line 582
VM2.0.26d
J.2.5.19
Can you please supply the code of the line 582?
Hello
QuoteCan you please supply the code of the line 582?
Yes please give us this code.
I have checked on the 2.0.26d, and there should be no error there in the paypal file. So it is probably in another file
We usually include all the files this way
if (!class_exists('theClass')) {
require(JPATH_VM_ADMINISTRATOR . DS . 'path' . DS . 'thefile.php');
}
And we should not have "redeclare" problems.
Thank you. It turned out that another file using the wrong vmPugin