I received this message from my hosting service:
When checking via the WP CLI I was able to find there are errors in these plugins. Notice: Undefined index: SERVER_NAME in /home/barry/public_html/wp-content/plugins/wpdatatables/source/class.wdttools.php on line 739 Notice: Undefined index: SERVER_NAME in /home/barry/public_html/wp-content/plugins/wpdatatables/source/class.wdttools.php on line 742
Thank you for your purchase.
This issue is actually well known when using WP CLI.
It’s because of the command line in PHP (WP-CLI is basically command line interface to WordPress).
The $_SERVER array isn’t getting set because there is no web server invoking it. Hence, the PHP notices on the command line as you attempt to perform updates using WP-CLI.
There are a few other reports of people using WP-CLI and having similar issues where the $_SERVER array is referenced:
Can you check isset() in the code on those lines to check the variables? They should be there but maybe there are cases where they are not available
Can you wrap everything in the rum_get_full_url() function with ‘if(isset($_SERVER[“SERVER_NAME”]))’? The notices should cease after that.
We would like to improve our plugins to help you adapt to the current working conditions, changed due to COVID-19 quarantines. Let us know which features are missing currently to make your remote work more comfortable. Please take wpDataTables Survey and Amelia Survey, it won't be longer than 3 - 5 minutes. Thank you!
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables