Thanks for a plugin that provides functionality that I have not been able to find elsewhere.
As I’m trying out the plugin I experienced some PHP warnings that I want to inform you about. The following warnings happen when un-attaching a file in the media library.
Warning: Use of undefined constant HTTP_REFERER - assumed 'HTTP_REFERER' (this will throw an Error in a future version of PHP) in /wp-content/plugins/wp-attachments/inc/attach_unattach_reattach.php on line 65 Warning: Cannot modify header information - headers already sent by (output started at/wp-content/plugins/wp-attachments/inc/attach_unattach_reattach.php:65) in /wp-includes/pluggable.php on line 1281 Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/wp-attachments/inc/attach_unattach_reattach.php:65) in /wp-includes/pluggable.php on line 1284
WP version: 5.4
PHP version: 7.2.23
Hopefully this helps with future updates.
- The topic ‘PHP warnings’ is closed to new replies.