VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: MyDesigner on November 21, 2020, 19:14:56 PM

Title: Errors Informations.
Post by: MyDesigner on November 21, 2020, 19:14:56 PM
Hi, I have upgraded to the latest version of Virtuemart and appear these errors in the administrator panel on delivery methods:

Notice: Undefined property: VirtuemartViewShipmentmethod::$payment in /home/administrator/components/com_virtuemart/views/shipmentmethod/tmpl/edit_edit.php on line 59
Notice: Trying to get property 'byCoupon' of non-object in /home/administrator/components/com_virtuemart/views/shipmentmethod/tmpl/edit_edit.php on line 59

Notice: Undefined property: VirtuemartViewShipmentmethod::$payment in /home/administrator/components/com_virtuemart/views/shipmentmethod/tmpl/edit_edit.php on line 60
Notice: Trying to get property 'couponCode' of non-object in /home/administrator/components/com_virtuemart/views/shipmentmethod/tmpl/edit_edit.php on line 60

Can you help me?
Thanks.
Title: Re: Errors Informations.
Post by: Jörgen on November 21, 2020, 19:39:11 PM
LATEST version? and that is version ?

Upgraded from version ??

Jörgen
Title: Re: Errors Informations.
Post by: jenkinhill on November 21, 2020, 19:47:29 PM
PHP version?
Title: Re: Errors Informations.
Post by: MyDesigner on November 21, 2020, 20:06:07 PM
Virtuemart version 3.8.6.10373 .

Php version 7.4.10 .

Joomla 3.9.22 .
Title: Re: Errors Informations.
Post by: pinochico on November 22, 2020, 05:11:35 AM
Pls slowly,

now send which shipment do you use, the best is preview your admin setup
Title: Re: Errors Informations.
Post by: jenkinhill on November 22, 2020, 12:57:38 PM
As these are notices they can be turned off, but it's still a good idea to track down the cause.
http://forum.virtuemart.net/index.php?topic=102555.0
Title: Re: Errors Informations.
Post by: MyDesigner on November 22, 2020, 14:49:21 PM
Quote from: pinochico on November 22, 2020, 05:11:35 AM
Pls slowly,

now send which shipment do you use, the best is preview your admin setup

I use standard shipping by weight, zip and countries.
Title: Re: Errors Informations.
Post by: MyDesigner on November 23, 2020, 20:22:48 PM
No reply?? :(
Title: Re: Errors Informations.
Post by: pinochico on November 23, 2020, 20:45:49 PM
Sorry, I have 170 issues on support department from our customers ....

On the forum I'm go only for relax not as freelancer ....
Title: Re: Errors Informations.
Post by: MyDesigner on November 23, 2020, 22:24:40 PM
Excuse me... I wait.
Title: Re: Errors Informations.
Post by: Jörgen on November 24, 2020, 00:28:58 AM
Quote from: MyDesigner on November 23, 2020, 20:22:48 PM
No reply?? :(

QuoteAs these are notices they can be turned off, but it's still a good idea to track down the cause.
http://forum.virtuemart.net/index.php?topic=102555.0

Jörgen
Title: Re: Errors Informations.
Post by: MyDesigner on November 24, 2020, 14:58:35 PM
Quote from: Jörgen on November 24, 2020, 00:28:58 AM
Quote from: MyDesigner on November 23, 2020, 20:22:48 PM
No reply?? :(

QuoteAs these are notices they can be turned off, but it's still a good idea to track down the cause.
http://forum.virtuemart.net/index.php?topic=102555.0

Jörgen

However debug is already disabled, Joomla too.
Title: Re: Errors Informations.
Post by: Jörgen on November 24, 2020, 15:02:32 PM
This has nothing with Joomla debug to do, this is error reporting from your PHP settings. See your HTACCESS file for more info.

Jörgen @ Kreativ Fotografi
Title: Re: Errors Informations.
Post by: MyDesigner on November 24, 2020, 15:07:59 PM
How disable PHP message to HTACCESS?
Thanks.
Title: Re: Errors Informations.
Post by: Jörgen on November 24, 2020, 15:17:09 PM
This shows som basic:
https://www.phoca.cz/component/content/article/16-joomla/336-how-to-enable-displaying-php-errors-on-site (https://www.phoca.cz/component/content/article/16-joomla/336-how-to-enable-displaying-php-errors-on-site)

Jörgen
Title: Re: Errors Informations.
Post by: pinochico on November 24, 2020, 15:17:52 PM
https://www.google.com/search?client=safari&source=hp&ei=5xW9X_n9M5HuaeG1s8gD&q=How+disable+PHP+message+to+HTACCESS&oq=How+disable+PHP+message+to+HTACCESS&gs_lcp=CgZwc3ktYWIQA1CcCVicCWC0FWgAcAB4AIABiQGIAYkBkgEDMC4xmAEAoAECoAEBqgEHZ3dzLXdpeg&sclient=psy-ab&ved=0ahUKEwi5jYS8r5vtAhURdxoKHeHaDDkQ4dUDCAo&uact=5

Thanks too
Title: Re: Errors Informations.
Post by: jenkinhill on November 24, 2020, 18:12:41 PM
Why not use Joomla's error report setting?  Tutorial here with pictures, of course, you don't want to set it to maximum but it shows where the setting is. 
https://www.joomlashack.com/blog/joomla/how-to-turn-your-error-reporting-to-maximum/
Title: Re: Errors Informations.
Post by: MyDesigner on November 25, 2020, 21:52:26 PM
I try to disable error with PHP, Virtuemart, Joomla and .HTACCESS... not function. :(

Can I return to previuous version of VirtueMart?

Thanks.
Title: Re: Errors Informations.
Post by: MyDesigner on November 29, 2020, 15:44:07 PM
Hi, I have upgraded to version 3.8.7 10378 and I have resolved errors but in customer order there is a new error:

Warning: Creating default object from empty value in .../home/administrator/components/com_virtuemart/helpers/calculationh.php on line 1214

Have you any solution?
Thanks.
Title: Re: Errors Informations.
Post by: jenkinhill on November 30, 2020, 11:49:56 AM
It is a PHP Warning. If it is displaying on the frontend turn off as advised above.

I also am testing 3.8.7 10378 (on PHP 7.4.12) and the same warning is recorded in the error log, but as it is a development version rather than a stable public release I do expect to see some minor issues.