Conflict OPC and CSVI Google Merchant Export (cron jobs)

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Conflict OPC and CSVI Google Merchant Export (cron jobs)

Postby info@.....com » Thu Sep 28, 2023 3:03 pm

Hi Stan,

i got a problem using OPC and CSVI Google Merchant Export. When i run the export via cron jobs i get the following error report:

Code: Select all
Symfony\Component\ErrorHandler\Error\FatalError {#1089
  #message: "Compile Error: Cannot declare class vmPlugin, because the name is already in use"
  #code: 0
  #file: "./www/xxxx/administrator/components/com_virtuemart/plugins/vmplugin.php"
  #line: 24
  -error: array:4 [
    "type" => 64
    "message" => "Cannot declare class vmPlugin, because the name is already in use"
    "file" => "/home/babyonli/www/xxxx/administrator/components/com_virtuemart/plugins/vmplugin.php"
    "line" => 24
  ]
}


When i deactivate OPC it runs, but this is absolutly not an option for me :-).

In an other post i read this:
hello, opc backend loads it's vmplugin override to provide some features required by opc plugins at backend, but i can blacklist this override per csvi, let me know how do you run it (url / cron / cron cli / etc..). if csvi triggers frontend to get the shipping it will be a bit more complex.

i'll let you know by email in this subject.

best regards, stan


Could this be a solution for my problem?

Used Version:
Joomla: 4.3.2
VM: 4.0.22
OPC: 2.0.435.220523

Many thank's in advance

Greetings
Björn
info@.....com
 
Posts: 16
Joined: Wed Dec 10, 2014 6:37 pm

Re: Conflict OPC and CSVI Google Merchant Export (cron jobs)

Postby admin » Wed Oct 18, 2023 12:59 pm

hello bjorn, i've sent you an email with an update which supresses opc system plugin for csvi (when the URL includes com_csvi - SEFed urls might not work correctly) and disables opc system plugin in CLI context as well.
let me know if this works good for you.
best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Conflict OPC and CSVI Google Merchant Export (cron jobs)

Postby info@.....com » Fri Oct 20, 2023 5:14 pm

Hi Stan,

thank's a lot! As already written per E-Mail, with the new version installed the cron job with CSVI runs.

Have a nice Weekend!

Greetings
Björn
info@.....com
 
Posts: 16
Joined: Wed Dec 10, 2014 6:37 pm

Re: Conflict OPC and CSVI Google Merchant Export (cron jobs)

Postby admin » Tue Oct 24, 2023 12:24 pm

Hello, i released this last week as official version, i forgot to mention csvi in change log.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x