Hello,
J 3.10.12, RO CSVI 8.20.0, PHP 7.4
When attempting to export products to GM, we started getting the following message:
Status error: 500
Status message: error
Error
An error has occurred.
0 Call to undefined method stdClass::get()
and on the second e-shop:
An error has occurred during the export. Below is the information received from the server.
Status error: 200
Status message: parsererror
Fatal error: Cannot declare class vmPSPlugin, because the name is already in use in /var/xxxxxxx/plugins/csviaddon/virtuemart/com_virtuemart/plugins/vmpsplugin.php on line 0
Where could the error be?
Best regards
Andrej
- andrejk
- RO CSVI
- Tuesday, 29 July 2025
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello Andrej,
We need full trace of the error so to see on which line you get this error. In Export template set Error reporting to maximum and see if you can more details on this 500 error.
This is a known error and is caused because of conflict in two known extensions with RO CSVI code. The extensions are AWO Coupon and Rupostel Onpage Checkout. Do you have any of these extensions installed?. One of these extension and RO CSVI want to load same VirtueMartCart class and that is causing fatal error. AWO Coupon has already adapted its code to ignore RO CSVI with their latest version. If you have this extension installed try updating to latest version. If you have Rupostel Onpage Checkout disable the plugin and check the export.
When attempting to export products to GM, we started getting the following message:
Status error: 500
Status message: error
Error
An error has occurred.
0 Call to undefined method stdClass::get()
We need full trace of the error so to see on which line you get this error. In Export template set Error reporting to maximum and see if you can more details on this 500 error.
An error has occurred during the export. Below is the information received from the server.
Status error: 200
Status message: parsererror
Fatal error: Cannot declare class vmPSPlugin, because the name is already in use in /var/xxxxxxx/plugins/csviaddon/virtuemart/com_virtuemart/plugins/vmpsplugin.php on line 0
Where could the error be?
This is a known error and is caused because of conflict in two known extensions with RO CSVI code. The extensions are AWO Coupon and Rupostel Onpage Checkout. Do you have any of these extensions installed?. One of these extension and RO CSVI want to load same VirtueMartCart class and that is causing fatal error. AWO Coupon has already adapted its code to ignore RO CSVI with their latest version. If you have this extension installed try updating to latest version. If you have Rupostel Onpage Checkout disable the plugin and check the export.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
I am sending the log and printscr in the attachment.
and in the second case, we do not have these extensions or the plugin
Best regards
Andrej
I am sending the log and printscr in the attachment.
and in the second case, we do not have these extensions or the plugin
Best regards
Andrej
Attachments (2)
Accepted Answer
Pending Moderation
Hello Andrej,
Screenshot did not help as there are no details on where that error is coming from. As per the debug log first 20 records are processed in export so the error is coming after those 20 records. I see you have product_url field. If you unpublished product_url field in template fields page and run the export, does that finish without error?
You can also set To and From records in export template settings to export only a few records and see if export finishes.
In that case your site has an extension which loads vmPSPlugin class before RO CSVI and that is breaking the export. In Joomla plugin manager look for plugins related to VirtueMart disable each one and see which is breaking the export.
Screenshot did not help as there are no details on where that error is coming from. As per the debug log first 20 records are processed in export so the error is coming after those 20 records. I see you have product_url field. If you unpublished product_url field in template fields page and run the export, does that finish without error?
You can also set To and From records in export template settings to export only a few records and see if export finishes.
and in the second case, we do not have these extensions or the plugin
In that case your site has an extension which loads vmPSPlugin class before RO CSVI and that is breaking the export. In Joomla plugin manager look for plugins related to VirtueMart disable each one and see which is breaking the export.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
first export - works in the range of 1-674, then no longer (product_url had no effect on export)
When I set the operation as product export, it works without any problems, but when I set it as Google merchant, this error occurs.
second export - I'll try turning off all plugins one by one
Best regards
Andrej
first export - works in the range of 1-674, then no longer (product_url had no effect on export)
When I set the operation as product export, it works without any problems, but when I set it as Google merchant, this error occurs.
second export - I'll try turning off all plugins one by one
Best regards
Andrej
Accepted Answer
Pending Moderation
Hello Andrej,
Export fields are same in both exports? Can you post both template XML file to check? To get the template XML file from RO CSVI templates list page select the export templates and click on Backup templates button. Post the downloaded XML file.
When I set the operation as product export, it works without any problems, but when I set it as Google merchant, this error occurs.
Export fields are same in both exports? Can you post both template XML file to check? To get the template XML file from RO CSVI templates list page select the export templates and click on Backup templates button. Post the downloaded XML file.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Yes, the export fields are the same.
I am sending XML template in the attachment.
Best regards
Andrej
Yes, the export fields are the same.
I am sending XML template in the attachment.
Best regards
Andrej
Attachments (1)
Accepted Answer
Pending Moderation
Hello Andrej,
I asked for both Product export template and Google merchant export template so to compare them but you posted only Google merchant export template. So checking Google merchant template there is nothing wrong with the template and export went good in my local site with 2500+ records. Since you said export works till 674 records can you try running Google export as cron job? See if that makes any difference.
I asked for both Product export template and Google merchant export template so to compare them but you posted only Google merchant export template. So checking Google merchant template there is nothing wrong with the template and export went good in my local site with 2500+ records. Since you said export works till 674 records can you try running Google export as cron job? See if that makes any difference.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
via cron for sure - Error: 0 Calling undefined method stdClass::get()
If possible, please check with the administration.
Best regards
Andrej
via cron for sure - Error: 0 Calling undefined method stdClass::get()
If possible, please check with the administration.
Best regards
Andrej
Accepted Answer
Pending Moderation
Hello Andrej,
Please also post (S)FTP details to check. You can post the details on Site Details tab under your reply.
Please also post (S)FTP details to check. You can post the details on Site Details tab under your reply.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello Andrej,
Thank you for posting FTP details. I found that the product with ID 1820 and SKU kokon-K70 is breaking the export. If I set this product to be excluded from export on Options tab in Product SKU filter in Google export template then export goes without any error. You can check the export on your site. Now the question is what is special about this product that breaks the export. All I noticed was that there is no price set to this product. Is this the only product with no price? Otherwise I don't see any other issue with this product.
Thank you for posting FTP details. I found that the product with ID 1820 and SKU kokon-K70 is breaking the export. If I set this product to be excluded from export on Options tab in Product SKU filter in Google export template then export goes without any error. You can check the export on your site. Now the question is what is special about this product that breaks the export. All I noticed was that there is no price set to this product. Is this the only product with no price? Otherwise I don't see any other issue with this product.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
this is interesting. When I turned off the product SKU kokon-K70, everything worked as you described ;-)
Yes, it is the only product without a price.
I solved the second problem as follows:
I inserted the following condition into /plugins/csviaddon/virtuemart/com_virtuemart/plugins/vmpsplugin.php
if (!class_exists('vmPSPlugin')) { ....... }
best regards
Andrej
this is interesting. When I turned off the product SKU kokon-K70, everything worked as you described ;-)
Yes, it is the only product without a price.
I solved the second problem as follows:
I inserted the following condition into /plugins/csviaddon/virtuemart/com_virtuemart/plugins/vmpsplugin.php
if (!class_exists('vmPSPlugin')) { ....... }
best regards
Andrej
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »