Viewing 1 post (of 1 total)
  • Author
    Posts
  • #52331
    Petralit
    Participant

    Hi! After I upgraded my website to PHP 8 (WP 6.1.1) there’s an error message:

    Warning: The magic method Download_Attachments::__wakeup() must have public visibility in /homepages/14/xxxxxxxxxx/htdocs/Autorenblog/wp-content/plugins/download-attachments/download-attachments.php on line 106

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/xxxxxxxxxx/htdocs/Autorenblog/wp-content/plugins/download-attachments/download-attachments.php:106) in /homepages/14/xxxxxxxxxx/htdocs/Autorenblog/wp-admin/includes/misc.php on line 1416

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/xxxxxxxxxx/htdocs/Autorenblog/wp-content/plugins/download-attachments/download-attachments.php:106) in /homepages/14/xxxxxxxxxx/htdocs/Autorenblog/wp-includes/functions.php on line 6865

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/xxxxxxxxxx/htdocs/Autorenblog/wp-content/plugins/download-attachments/download-attachments.php:106) in /homepages/14/xxxxxxxxxx/htdocs/Autorenblog/wp-admin/admin-header.php on line 9

    I managed to eliminate the error message by setting /Autorenblog/wp-content/plugins/download-attachments/download-attachments.php on line 106 from private to public, but I don’t know if there might be further problems with downloads. It would be better to get an update for this plugin to work properly with PHP 8 or higher.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.