Support » Plugin: Download Attachments » Warnings, doesn’t show on homepage

  • Hello,
    the plugin produces these warnings, when used shortcode for the list.

    Warning: Illegal string offset 'echo' in wp-content/plugins/download-attachments/includes/shortcodes.php on line 66
    
    Warning: Illegal string offset 'title' in wp-content/plugins/download-attachments/includes/shortcodes.php on line 69
    
    Warning: Cannot assign an empty string to a string offset in wp-content/plugins/download-attachments/includes/shortcodes.php on line 69
    
    Warning: Illegal string offset 'title' in wp-content/plugins/download-attachments/includes/shortcodes.php on line 72

    And I have front page made of one most recent post. The list doesn’t show there and I couldn’t find any option that would enable it. Please fix.

    Great idea and plugin. I will change the review, when improved. Thanks

Viewing 1 replies (of 1 total)
  • kpapakonstantinou

    (@kpapakonstantinou)

    Hi,

    I had the same problem.
    I fix it.
    There are two options that you can do.
    Option 1: You can downgrade your server PHP version to 7.0.
    Option 2: You can add on line 65, this code: $args = array();

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