Title: PHP7, got error
Last modified: August 5, 2020

---

# PHP7, got error

 *  [ganohr](https://wordpress.org/support/users/ganohr/)
 * (@ganohr)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/php7-got-error/)
 * ver 1.2.24
 * hi, thanks to great plugins!
 * shortcodes.php lines:66~69
    It has got error on greater than PHP7.
 * AH01071: Got error ‘PHP message: PHP Warning: Illegal string offset ‘title’ in/
   wp-content/plugins/download-attachments/includes/shortcodes.php on line 69
 * So I commented out 65~70 lines, and change 57 line to that below.
 * ‘title’ => __( isset(Download_Attachments()->options[‘label’]) ? Download_Attachments()-
   >options[‘label’] : ‘Attachments’, ‘download-attachments’ ),
 * after changes, maybe it seems work on PHP7.
 * thanks, yours.

The topic ‘PHP7, got error’ is closed to new replies.

 * ![](https://ps.w.org/download-attachments/assets/icon-256x256.png?rev=1018456)
 * [Download Attachments](https://wordpress.org/plugins/download-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/download-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-attachments/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 0 replies
 * 1 participant
 * Last reply from: [ganohr](https://wordpress.org/support/users/ganohr/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/php7-got-error/)
 * Status: not a support question