PHP Notice Undefined variable error

Hi,

everytime i process an order i am getting over 50 of these notices in my error logs

I added the code from this post but it did not help

any help you can offer is greatly appreciated

thanks

Brent

oops… i meant i tried the code from this post https://theme.co/apex/forums/topic/problems-with-visual-composer-8/

Hi There,

Thanks for writing in! PHP notices or not errors and you can ignore it by changing the following line of your wp-config.php file.

define('WP_DEBUG', true);

Change it as follows:

define('WP_DEBUG', false);

Also you can try switching to a different PHP version to avoid these notices as well.

Thanks!

Hi,

I actually have the wp-config.php file set to:

define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );

so i am able to check the wp-content/debug.log

I am looking to fix why these issues reoccurring not ignore them :slight_smile:

thanks,

Brent

Hi Brent,

Please check all the page that is involve in order process, make sure all of it Columns have no empty background-color and fade-duration field.

Also, try navigating to WPBakery Page Builder settings and disable the X Integration.

Let us know how it goes,
Cheers!

Hi @friech

I am only using the Wordpress classic editor for the cart and checkout pages. These were auto generated by woo commerce when added the woocomm plugin.

How do i go about checking the columns?

thanks,

Brent

Hello Brent,

They are just PHP notices that may be ignored. It won’t harm your issue as long as you disable the PHP notice by adding this:

define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

These notices usually occur when a variable is not yet set or the variable does not exist at all.

The columns can be check by clicking on the column container. You must be editing the page in Visual Composer to be able to do that.

Hope this helps.

thats great.

thanks for the info :slight_smile:

You’re welcome, Brent.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.