Title: Illegal string offset &#8216;upload_dir&#8217;
Last modified: June 14, 2020

---

# Illegal string offset ‘upload_dir’

 *  Resolved [kalamun](https://wordpress.org/support/users/kalamun/)
 * (@kalamun)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-upload_dir/)
 * Hello, with the last update (1.3.5.1) an error message appeared in the head of
   any page, including wp-admin ones. The error message is:
 * Warning: Illegal string offset ‘upload_dir’ in /home/*******/public_html/wp-content/
   plugins/drag-and-drop-multiple-file-upload-contact-form-7/inc/dnd-upload-cf7.
   php on line 62
 * Warning: fopen(/.htaccess): failed to open stream: Permission denied in /home/*******/
   public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-
   7/inc/dnd-upload-cf7.php on line 66
 * I did’t do anything else than update the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-upload_dir/#post-12982696)
 * [@kalamun](https://wordpress.org/support/users/kalamun/) , will check on this.
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-upload_dir/#post-12982769)
 * [@kalamun](https://wordpress.org/support/users/kalamun/) , I tried on my server
   and I cannot replicate the issue.
 * Can check and make sure **/wp-uploads/wp_dndcf7_uploads** is writable? then after
   that please clear your cache.
 * Also the recent updates/changes is not related to this issue, can you try and
   rollback to lower version?
 *  Thread Starter [kalamun](https://wordpress.org/support/users/kalamun/)
 * (@kalamun)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-upload_dir/#post-12982853)
 * Hi Glen thank you for your quick support. I found that I was out of disk space,
   and this caused the issue.
    So, not your fault!
 * I’m sorry for the time I made you waste, and thank you again for your support.
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-upload_dir/#post-12982855)
 * Sure no problem [@kalamun](https://wordpress.org/support/users/kalamun/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Illegal string offset ‘upload_dir’’ is closed to new replies.

 * ![](https://ps.w.org/drag-and-drop-multiple-file-upload-contact-form-7/assets/
   icon-128x128.jpg?rev=1984850)
 * [Drag and Drop Multiple File Upload for Contact Form 7](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-upload_dir/#post-12982855)
 * Status: resolved