Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Call to undefined function wp_get_upload_dir()

$
0
0

Replies: 0

Updated last night to version 4.6 from 4.5.1 and had white screens across all my multisites. WP Debug logs showed thousands of \nFatal error: Call to undefined function wp_get_upload_dir() in /wp-content/plugins/contact-form-7/includes/functions.php on line 18.
`$uploads = wp_get_upload_dir();’
Checked line 18 on version 4.5.1 and saw different code.
$uploads = wp_upload_dir();
Reverted back to 4.5.1 for the time being and works fine. Probably could have changed the line in version 4.6 but didn’t have time.


Viewing all articles
Browse latest Browse all 67836

Trending Articles