Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Correct your php code.

$
0
0

Replies: 0

Apache2 2.4.25 working in mpm prefork mode on Debian 9.8.0
PHP 7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82 (cli) (built: Mar 7 2019 20:24:15) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82, Copyright (c) 1999-2018, by Zend Technologies

My Apache2 access.log and errors.log show this.

PHP Warning: Use of undefined constant DOING_AJAX – assumed ‘DOING_AJAX’ (this will throw an Error in
a future version of PHP) in /var/www/html/example.com/public_html/wp-content/plugins/protect-wp-admin/pwa-class.php on line 170, referer: https://example.com/wp-admin/index.php
[Mon Mar 25 17:39:44.476486 2019] [php7:warn] [pid 2284] [client 176.XXX.XXX.XX:31255] PHP Warning: getimagesize(): Filename cannot be empty in /var/www/html/example.com/public_html/wp
-content/plugins/protect-wp-admin/pwa-class.php on line 271, referer: https://example.com/wp-admin/index.php
[Mon Mar 25 17:46:08.347080 2019] [php7:warn] [pid 2274] [client 176.XXX.XXX.XX:31274] PHP Warning: getimagesize(): Filename cannot be empty in /var/www/html/example.com/public_html/wp
-content/plugins/protect-wp-admin/pwa-class.php on line 271

  • This topic was modified 19 minutes ago by Palanthir.

Viewing all articles
Browse latest Browse all 59525

Trending Articles