Plugin Directory

Opened 5 years ago

#2969 assigned defect

2 bugs

Reported by: lagiosdi's profile lagiosdi's profile lagios.di Owned by:
Priority: normal Severity: normal
Plugin: not-listed Keywords:
Cc:

Description

First in file:

pages\admin\woosea-generate-feed-step-0.php

if ( $license_informationnotice? == "true" ) please change to:

if ( isset( $license_informationnotice? ) && $license_informationnotice? == "true" )
because present php warninng.

Second in file
classes\class-get-products.php

if ( $product_datasale_price? > 0 ) {
$product_datadiscount_percentage? = round( 100 - ( ( (float) $product_datasale_price?

/ (float) $product_dataregular_price? )

  • 100 ), 2 );

please change if condition to
if ( $product_datasale_price? > 0 && (float) $product_dataregular_price? ) {

because sometimes I have fatal error DivisionByZeroError

Change History (0)

Note: See TracTickets for help on using tickets.