• Resolved devsaredead

    (@devsaredead)


    I updated JM on my staging site and had no problems, whereas the plugin “failed to copy to the upgrade temp folder” in my production site, and now the plugin has been disabled (no longer in the plugin list). It’s sitting under wp-content>upgrade>wp-job-manager.2.2.0. and the original plugins>wp-job-manager contains only its folders, not the extra php files.

    Any fix for this? Sould I just copy-override the files from the first to the second directory?

    • This topic was modified 1 year, 1 month ago by devsaredead.
    • This topic was modified 1 year, 1 month ago by devsaredead.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried deleting the wp-job-manager directory in your plugins directory, and re-installing the plugin from your WordPress admin panel (as if it was a new plugin)?

    Thread Starter devsaredead

    (@devsaredead)

    @hastibe no I havent, because the plugin is hardcoded into the theme. I have now overwritten the files from the upgrade directory to the plugins one, and the plugin came back in the list, but once activate I got a general error

    Uncaught Error: Undefined class constant ‘PT_LISTING’ in /…/public_html/wp-content/plugins/wp-job-manager/wp-job-manager-template.php:1237

    plus one error for each of my jobs listed, which don’t appear in the backend anymore.

    Plugin Author Peter Kiss (a11n)

    (@yscik8)

    Sounds like some files are still not updated, or there is still an older version around in the theme that’s being loaded. I’d upload the plugin zip again, that should clear the current folder first and copy every file.

    Thread Starter devsaredead

    (@devsaredead)

    @yscik8 sorry for the late reply. I should ask you to be more specific. After restoring my site to the status where WPJM asks to be updated, I have tried again and got the same result: “impossible to move the old version in directory upgrade-temp-backup” and wp-job-manager/wp-job-manager.php is not found. If I delete the plugin it will break the theme, so I need a manual update procedure, i.e. step by step. Can you indicate how?

    Plugin Support Deric (a11n)

    (@dericleeyy)

    Looks like a corrupted plugin install on your site since you mentioned that wp-content/plugins/wp-job-manager does not contain any PHP files.

    It’s safe to delete this directory. Alternately, you could rename the directory to wp-content/plugins/wp-job-manager-backup if you want to be cautious on deleting files.

    Then try installing a fresh copy of WP Job Manager from https://www.ads-software.com/plugins/wp-job-manager/.

    Thread Starter devsaredead

    (@devsaredead)

    hello again and thank you for the precious tips. I have managed by renaming the corrupted directory in order to have JM disabled… then I noticed that my theme options had a warning for the plugin update, I used that and it restored JM in the new version. ?? it looks all right now, my listings are all there

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘plugin disabled after updated’ is closed to new replies.