• Upgraded to PHP 8 and plug-n stops working. Works again after downgrading to PHP 7.

    Error from logs:

    AH01071: Got error 'PHP message: PHP Warning: Undefined array key "your-email" in /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-process.php on line 255PHP message: PHP Warning: Undefined array key "your-email" in /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-process.php on line 301PHP message: PHP Warning: Undefined array key "your-email" in /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-process.php on line 157PHP message: PHP Warning: Undefined array key 1 in /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-db.php on line 119PHP message: PHP Warning: Undefined array key "" in /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-db.php on line 119PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * null in /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-db.php:119\nStack trace:\n#0 /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-db.php(77): Email_Before_Download_DB->expired()\n#1 /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-process.php(166): Email_Before_Download_DB->create_link()\n#2 /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-process.php(37): Email_Before_Download_Process->generate_links()\n#3 /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-includes/class-wp-hook.php(307): Email_Before_Download_Process->process_cf7()\n#4 /var/www/vhosts/xxxxxxxxxxxxxxx.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_H...', referer: https://xxxxxxxxxxxxxxx.com/ebook/
Viewing 1 replies (of 1 total)
  • Plugin Author mandsconsulting

    (@mandsconsulting)

    Hi @semide,
    Thank you for bringing this to our attention, and we will look into it further. It looks like we need to update the plugin to satisfy the new version of PHP 8.

Viewing 1 replies (of 1 total)
  • The topic ‘Download not working with php 8’ is closed to new replies.