Error when attacing image | WordPress.org

[ad_1]

Hi.

Trying out your frontend submit plugin, wich seem pretty nice.

I cloud see myself buying the plugin.

BUT….when i want to submit images in the form, i get a error.

It happens on both my websites, on two different hosts

Without attacing image, it works fine.

The error is:

Fatal error: Uncaught Error: Call to undefined function wp_generate_attachment_metadata() in /var/www/pnet.dk/public_html/juleside/wp-content/plugins/user-submitted-posts/user-submitted-posts.php:1189 Stack trace: #0 /var/www/pnet.dk/public_html/juleside/wp-content/plugins/user-submitted-posts/user-submitted-posts.php(1343): usp_attach_images(5462, Array, Array, 1) #1 /var/www/pnet.dk/public_html/juleside/wp-content/plugins/user-submitted-posts/user-submitted-posts.php(428): usp_createPublicSubmission(‘Julemandens sl\xC3…’, Array, ‘87.58.172.146’, ‘Test Testensen’, ”, ‘webguiden@pnet….’, Array, ”, ”, ‘<p>Dette er en …’, ”, ”, ”, ”, ‘open’) #2 /var/www/pnet.dk/public_html/juleside/wp-includes/class-wp-hook.php(310): usp_checkForPublicSubmission(Object(WP)) #3 /var/www/pnet.dk/public_html/juleside/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #4 /var/www/pnet.dk/public_html/juleside/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #5 /var/www/pnet.dk/public_html/juleside/wp-inclu in /var/www/pnet.dk/public_html/juleside/wp-content/plugins/user-submitted-posts/user-submitted-posts.php on line 1189

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer