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.