Call to undefined function wp_get_upload_dir()
-
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 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Call to undefined function wp_get_upload_dir()’ is closed to new replies.