Testo messaggio:
Il plugin “yoast-seo” ha causato un errore e non può essere visualizzato
Come posso risolvere il problema? Grazie
Saluti
]]>FYI, this message seems to come more frequently when using WP CLI.
Notice: Undefined index: SERVER_NAME in /wp-content/plugins/ezoic-integration/includes/class-ezoic-integration-cache.php on line 16
Can you please address this?
]]>https://appserver-25911a4c-nginx-b5f01bf3e6a848ca958b28516393a7bc/2021/01/25/gorillasrecovering/
instead of this
https://zoonooz.sandiegozoo.org/2021/01/25/gorillasrecovering/
I was able, with the guidance of Jesse Ryles on the Pantheon Slack, to get the URIs to show correctly by changing the last line of the simple-share-buttons-adder/php/class-buttons.php file like this:
// Return share buttons. // return $html_share_buttons; return esc_url(get_permalink($post->ID));
I don’t know if this is the best solution, but it works for me for now.
]]>[06-Sep-2018 11:10:05 UTC] PHP Notice: Undefined index: SERVER_PORT in .../wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 1781
[06-Sep-2018 11:10:05 UTC] PHP Notice: Undefined index: SERVER_NAME in .../wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 1782
[06-Sep-2018 11:10:05 UTC] PHP Notice: Undefined index: SERVER_PORT in .../wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 1782
How Can I solve, or silence, these problems?
]]>filmfix.net/blog/
, this is a link to a post at filmfix.net and the same post here at filmfix.com, using the same default folder. So far so good. Now I noticed that all the links within the .com website go to the default .net website — instead of staying on the .com site. How can I fix this? Do I have to use sub-folders?
Would having a virtual folder that point back to the WP site root folder work?
Switching between $_SERVER[“SERVER_NAME”] (default) and $_SERVER[“HTTP_HOST”] made no difference.
]]>Je souhaitais tester ton plugin en l’installant avec WP-CLI :
wp plugin install wp-maintenance --activate
Mais j’obtiens l’erreur suivante :
PHP Notice: Undefined index: SERVER_NAME in /monsite.fr/wp-content/plugins/wp-maintenance/classes/wp-maintenance.php on line 83
La ligne en question étant :
'domain_analytics' => $_SERVER['SERVER_NAME']
Cette erreur semble corrigée sur d’autres plugins ici ou là en vérifiant l’existence de cette variable avec un isset()
Serait-il possible d’implémenter un fix ? Merci beaucoup !
MacOS Sierra 10.12.6
MAMP 4.2.1
PHP 5.6.30
Apache 2.2.32
WP-CLI 1.3.0
WordPress 4.8.2
WP Maintenance 3.0.6
On Cloudways, your plugin keeps on generating errors in /wp-content/plugins/postman-smtp/Postman/Postman-Mail/PostmanDefaultModuleTransport.php on line 37.
This is due to the SERVER_NAME not being available.
The error is also reported by other users and this seems to be a good solution to avoid the issue:
https://www.ads-software.com/support/topic/causes-cli-errors-because-server_name-is-not-available/
Thanks
Michael
]]>1) My reading of https://codex.www.ads-software.com/Editing_wp-config.php (Dynamically set WP_SITEURL based on $_SERVER[‘SERVER_NAME’] ) and elsewhere, has me questioning the Github installation readme file (https://github.com/stuttter/wp-multi-network) which reads:
/**
* These are purposely set for maximum compliance with multisite and
* multinetwork. Your config may vary.
*/
define( ‘WP_HOME’, ‘https://’ . $_SERVER[ ‘HTTP_HOST’ ] );
define( ‘WP_SITEURL’, ‘https://’ . $_SERVER[ ‘HTTP_HOST’ ] );
Please inform me which is most secure to use in this case: [ ‘HTTP_HOST’ ] or [ ‘SERVER_NAME’ ] ?
https://codex.www.ads-software.com/Editing_wp-config.php#WordPress_address_.28URL.29
2) Is it permissible to move the wp-content.php in such a multi-network install to outside of the WordPress root directory?
https://codex.www.ads-software.com/Editing_wp-config.php#Moving_wp-content_folder
3) Is it permissible to rename or relocate the wp-config.php file in a multi-network install to one directory above (as in https://codex.www.ads-software.com/Hardening_WordPress#Securing_wp-config.php)?
*I actually tried this once, but came up with a ‘parse’ error in the first line of define(‘AUTH_KEY’, and had to rebuild the wp-config file back into the root to get the site working again.
4) What is the practical difference between “shared cookies” and single-sign-on”? Is it that “shared cookies” are for any website user across all network sites and SSO is just for registered users to be logged in to each network (and its sites) simultaneously?
https://github.com/stuttter/wp-multi-network
4b) If I want cookies to ‘track’ registered/BP user activity per network or per site should I then NOT use “shared cookies” (or SSO) in wp-config?
https://www.ads-software.com/support/topic/plugin-wp-multi-network-sharing-cookiessingle-log-in/
5) What in your experiences are the best backup solutions for WP/BP-multi-networks?
Thanks so much for the input!
https://www.ads-software.com/plugins/wp-multi-network/
]]>Notice: Undefined index: SERVER_NAME in /home/vianney/www/shvcamps.com/wp-content/plugins/wordfence/lib/wfUtils.php on line 641
Notice: Undefined index: HTTP_HOST in /home/vianney/www/shvcamps.com/wp-content/plugins/wordfence/lib/wfCache.php on line 38
Notice: Undefined index: SERVER_NAME in /home/vianney/www/shvcamps.com/wp-content/plugins/wordfence/lib/wfCache.php on line 38
https://www.ads-software.com/plugins/wordfence/
]]>I’m currently testing your plugin and so far I’m pretty happy. The OAuth 2.0 is really great!!
However I have small glitches on my staging server. The logs are being filled up with PHP notices coming from the plugin:
Undefined index: SERVER_NAME in /public_html/wp-content/plugins/postman-smtp/Postman/Postman-Mail/PostmanDefaultModuleTransport.php on line 37
Is there any way to prevent it aside from disabling the logs?
I guess the SERVER_NAME global variable is not always provided, which triggers the notices.
tnx
Michael
https://www.ads-software.com/plugins/postman-smtp/
]]>