If that is echo’d to the screen – you have probably got some configuration problem in your WP install – or are testing locally – a PHP notice is a non-fatal error and is normally just added to the PHP error log – check your WP_Config.php settings.
Thread Starter
John
(@dsl225)
Yes, I have a setting to display errors in admin screen.
I just wanted to let you know I got this one, and yes it’s a PHP notice, just that.
Thread Starter
John
(@dsl225)
Correction: the error does not appear at admin screen but on top of exported file (CSV or Excel).
You should use the configuration settings in WP_Config to save PHP notices to an error log – don’t print them to the screen.
Thread Starter
John
(@dsl225)
This already done but as I said the error was in the output file, not on screen.
PHP errors are controlled by the settings in your php.ini or WP_Config.php ( and other ) files – if you set these correctly, it will not echo errors to the screen – or in the file.
The notice is a very small problem in the plugin, but this is something you can overcome by setting up your server correctly.