• jmentalist

    (@jmentalist)


    Hi,

    I am using jnews theme and when I try to upload pdf files through Media or in articles / page it shows the error “WordPress Upload: Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page. “
    but the file.pdf is uploaded in two copies e.g. file.pdf & file-1.pdf

    in the logs it says:”WordPress database error Table ‘dbphpneo.938tlIwMu0_popularpostsdata’ doesn’t exist for query SELECT pageviews FROM 938tlIwMu0_popularpostsdata WHERE postid = ‘37704’ made by require(‘wp-blog-header.php’)”

    Pls any help ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • nreshchd

    (@nreshchd)

    The table popularpostsdata suggests that it’s related to a plugin designed to track popular posts. Common plugins for this purpose include “WordPress Popular Posts” or similar. Deactivate the plugin that manages the popular posts feature to see if the error goes away. If it does, this confirms the plugin is causing the issue.

    @nreshchd is correct, the error you’re seeing is caused by a missing database table created by the WordPress Popular Posts plugin (I’m the dev behind it.)

    Try following these steps to restore the table, that should fix the error message @jmentalist

    Thread Starter jmentalist

    (@jmentalist)

    thank you for your answers

    I don’t have any plugins “WordPress Popular Post” to disable, maybe it’s from jnews theme, but i didn’t found something
    I found that if I downgrade from version PHP 8.2 to 8.0 it doesn’t show the error “WordPress Upload: Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page. “

    but this is not solution

    Ah, in that case then your jnews theme probably relies on WordPress Popular Posts being installed to work – or at least it seems it tries to access this database table directly without checking if it’s in there in the first place, causing that error message (which IMO isn’t a good practice.)

    Try switching to a different theme for a moment (eg. Twenty Twenty Four), if the problem goes away then you’ll know for sure that it’s jnews that’s causing it. In that case please reach out to the developer of the jnews theme and report the problem @jmentalist

    Thread Starter jmentalist

    (@jmentalist)

    Unfortunately, the annual subscription has expired and there is no way to ask Jnews, I have to renew first

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Unexpected response from the server. The file may have been uploaded successfull’ is closed to new replies.