Hola @raiwa, como estas?
My error_log file started to fill with the following warning:
PHP Warning: Use of undefined constant MODULE_BOXES_FEATURED_STATUS - assumed 'MODULE_BOXES_FEATURED_STATUS' (this will throw an Error in a future version of PHP) in /home2/mysite/public_html/catalog/includes/application_top.php on line 471
application_top.php line 471 looks like this:
if ((MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_STATUS == 'true') || (MODULE_BOXES_FEATURED_STATUS == 'true')){
Any clue how to fix it? OSC Edge.
Best regards.
Valqui
Featured Products
PHP Warning: Use of undefined constant MODULE_BOXES_FEATURE - Featured Products
PHP Warning: Use of undefined constant MODULE_BOXES_FEATURE
Last edited by Valquiria on Thu Jun 03, 2021 7:18 pm
-
- Posts: 8
- Joined: Tue Apr 27, 2021 1:08 am
- Contact:
Re: PHP Warning: Use of undefined constant MODULE_BOXES_FEA
Hola Valquiria,
This should fix it:
Un saludo cordial
Rainer
This should fix it:
Code: Select all
if ( (defined('MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_STATUS') && MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_STATUS == 'true') || (defined('MODULE_BOXES_FEATURED_STATUS') && MODULE_BOXES_FEATURED_STATUS == 'true') ) {
Rainer
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1184
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact:
Re: PHP Warning: Use of undefined constant MODULE_BOXES_FEA
Buenas tardes Rainer, espero estes muy bien y saludable.
El arreglo funcionocorrectamente !!! sos un genio
The cod fix worked correctly !!! You're a genius
Have a nice day.
Valqui
El arreglo funcionocorrectamente !!! sos un genio
The cod fix worked correctly !!! You're a genius
Have a nice day.
Valqui
-
- Posts: 8
- Joined: Tue Apr 27, 2021 1:08 am
- Contact: