Warnings shown in output although debug constant set to false
-
Hello,
I’m using our plugin in widget. The Posts are shown but I get lots of warnings, although the debug constant in wp-config ist set to false. At the moment my site runs only locally in XAMPP (PHP Version 7.3) –Edit: Now online on https://justfordevelopment.de
I only got the output working with the help of the Plugin “Shortcode Widget”, HTML and Text Widget don’t work.The warnings:
Warning: Use of undefined constant debug – assumed ‘debug’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 252
Showing: newest 4 posts , Includes these categories: aktuelles.
Warning: Use of undefined constant includesites – assumed ‘includesites’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 330Warning: Use of undefined constant excludesites – assumed ‘excludesites’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 333
Warning: Use of undefined constant includesites – assumed ‘includesites’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 347
Warning: Use of undefined constant excludesites – assumed ‘excludesites’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 357
Warning: Use of undefined constant debug – assumed ‘debug’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 495
Site: 1 – ‘Feuerwehr Lilienthal’ – http://fwlilienthal.local
Hallo Welt!
2019-06-16 20:17:42Beitrag von der Hauptseite
Warning: Use of undefined constant debug – assumed ‘debug’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 495
Site: 2 – ‘Ortsfeuerwehr Heidberg’ – http://fwlilienthal.local/heidberg
Hallo Heidberg
2019-06-16 20:23:43Beitrag von Ortsfeuerwehr Heidberg
Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 495 Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 508 Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 495 Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 508 Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 495 Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 508 Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 495 Warning: Use of undefined constant debug - assumed 'debug' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\fwlilienthal\wp-content\plugins\multisite-post-reader\multisite-post-reader.php on line 508
Thanks in advance & regards,
LarsThe page I need help with: [log in to see the link]
- The topic ‘Warnings shown in output although debug constant set to false’ is closed to new replies.