• Resolved netspacer

    (@netspacer)


    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]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. So what that error is saying is that a required core WordPress function, wp_generate_attachment_metadata(), is not available. That means there is an issue with your WordPress installation, such that the function is missing. Best advice would be to try re-installing WordPress and/or ask in the general WordPress support forum, where someone will be able to help asap.

    • This reply was modified 1 year, 6 months ago by Jeff Starr.
    Thread Starter netspacer

    (@netspacer)

    Hi.

    The WordPress installation works just fine ??
    I startede to disable plugins, and located that the plugin i just purchased “AltText.ai” is the guilty part.
    I will write to their support, and see if they can correct the issue.

    Plugin Author Jeff Starr

    (@specialk)

    Okay great, glad you found the cause of the issue. I will go ahead and mark as resolved. Feel free to post again with any further questions. Glad to help anytime. Thank you, @netspacer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when attacing image’ is closed to new replies.