Custom Fields
Re-Envisioned
Support MB Frontend Submission Uploading post thumbnail leads to PHP Fatal error

  • Creator
    Topic
  • #7122
    flowdee
    Participant

    Added thumbnail to the post_fields parameter on the shortcode but uploading an image leads to the following fatal error:

    
    [12-Oct-2017 15:21:39 UTC] PHP Notice:  Undefined index: storage in /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/meta-box/inc/field.php on line 290
    [12-Oct-2017 15:21:39 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add() on null in /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/meta-box/inc/field.php:319
    Stack trace:
    #0 /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/meta-box/inc/field.php(539): RWMB_Field::save(Array, Array, 62, Array)
    #1 /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/mb-frontend-submission/inc/class-mb-frontend-post.php(154): RWMB_Field::call(Array, 'save', Array, Array, 62)
    #2 /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/mb-frontend-submission/inc/class-mb-frontend-post.php(74): MB_Frontend_Post->save_thumbnail()
    #3 /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/mb-frontend-submission/inc/class-mb-frontend-form.php(82): MB_Frontend_Post->save()
    #4 /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/mb-frontend-submission/inc/class-mb-frontend-form-shortcode.php(62): MB in /Users/florian/htdocs/nsm/web/wp-content/themes/nsm/vendor/meta-box/inc/field.php on line 319
    

    User is logged in. Happens to admin as well as subscriber level.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uploading post thumbnail leads to PHP Fatal error’ is closed to new replies.