Hi Team,
Will you please provide some advise on the issue below.
On my staging site, just started to build a website, I noticed that it shows some errors on the log.
— — —
[12-Jan-2022 14:50:01 UTC] PHP Warning: Undefined array key “SCRIPT_NAME” in /home/xxx/public_html/xxx/wp-includes/load.php on line 79
[12-Jan-2022 14:50:01 UTC] PHP Warning: Undefined array key “SCRIPT_FILENAME” in /home/xxx/public_html/xxx/wp-content/plugins/td-composer/includes/tdc_main.php on line 161
[12-Jan-2022 14:50:01 UTC] PHP Warning: Undefined array key “SCRIPT_FILENAME” in /home/xxx/public_html/xxx/wp-content/plugins/td-composer/includes/tdc_main.php on line 259
— — —
I have reinstalled td-composer or reinstall all WP and start from zero, these lines will come up on the error log.
It is not a big issue, but it will be a lot in the future.
is this because I have not set up the theme right?
Please let me know what I can do.
Hi,
Do you use extra plugins? Do you have some custom changes for the WP?
Please make sure that the theme requirements are set like in our guide https://forum.tagdiv.com/requirements-for-newspaper/ and the WordPress permissions are like here -> https://www.malcare.com/blog/wordpress-file-permissions/
Also in case that you have custom settings in .htaccss, php.ini, wp-config.php … please make a test using de default settings.
Thank you!
Hi Calin,
As I said, I have installed from start and only your plugins are running. Also, I always check the server status and permission too.
I could not wait for your answer so I set it up now, but I will inform you that errors show on the “plain wp = all default setting”.
I guess I need to drop this case, since you have not any thought or advice on this.
All the best,
Hi mode8.jp,
If you agree, we can take a deep look at this situation if we have access to your website, in this way we can see if the problem is from the theme or not, but for this will need wp-admin and cPanel access. Those can be provided via email at contact@tagdiv.com, but only after you made a full backup for your website and database.
Thank you!
Hi,
I have same problem, if you fix it, can you show me the solution?
Hello!
Please change the PHP version that you use with a recommended version: https://forum.tagdiv.com/requirements-for-newspaper/
If this problem is not solved after that, then we need to take a look and see what happened there.
Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– cpanel url and credentials
– a link to this topic in order to identify you
Our team will take a look!
Thank you!