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)
  • 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)
  • The topic ‘Warnings, doesn’t show on homepage’ is closed to new replies.