Title: Problem on update
Last modified: September 22, 2020

---

# Problem on update

 *  [moacirsantana](https://wordpress.org/support/users/moacirsantana/)
 * (@moacirsantana)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/)
 * Hello, the plugin was working perfectly, then I decided to upload it and:
 * – Photos upload are taking forever to be uploaded (sometimes they just arent 
   uploaded at all, which doesnt allow the form to be submited because at least 
   one photo is required)
 * – Even after waiting a upload of a light weight photo, there’s that “Critical
   error” when the ad is published.
 * I checked this and everything seems to be ok:
    [https://wordpress.org/support/topic/wpadverts-1-4-0-please-read-before-or-after-updating/](https://wordpress.org/support/topic/wpadverts-1-4-0-please-read-before-or-after-updating/)
 * The files that I have modified in my theme are:
 *     ```
       add-preview.php
       add.php
       list-item.php
       list.php
       manage.php
       single.php
       ```
   
 * The website is: [https://www.LoveCampinas.com.br/](https://www.LoveCampinas.com.br/)
   
   The page for users to publish is: [https://www.LoveCampinas.com.br/anunciar](https://www.LoveCampinas.com.br/anunciar)
 * **IMPORTANT**: It’s an escort website, so there are 18+ images in the homepage,
   but the /anunciar page is ‘safe’ because there’s only the form.
 * You can create and ad with any information to see what I mean.
 * Any ideas? Thank you!
    -  This topic was modified 5 years, 8 months ago by [moacirsantana](https://wordpress.org/support/users/moacirsantana/).
    -  This topic was modified 5 years, 8 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-on-update-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13442192)
 * Hi,
    1. i wasn’t able to replicate problem with image upload, i was able to upload
   two images without any issues?
 * That being said there is JavaScript error on the page but it is coming from a
   custom JS snippet not from WPAdverts, but fixing it would be a good method to
   make sure that this error is not conflicting with WPAdverts uploader.
 * You have the following code
 *     ```
       <script>
       $('.adverts-plupload-browse-button').addClass('notscrollable');
       $('.notscrollable').click(function(event) {
         ...
       });
       ```
   
 * and the error is `(index):37 Uncaught TypeError: $ is not a function`. The jQuery
   related code you should be put in some JS file which will be loaded after the
   jQuery file is loaded then the $ will be defined and you will not see this error.
 * 2. i can see the error message in the third step, but i am not sure what is causing
   it (you seem to have the files modified correctly and all required data is sent).
 * In this case i would recommend opening the wp-config.php file, adding there `
   define( "WP_DEBUG", true );` and trying to post again, it will fail but you should
   see an error message which you can copy and send post here.
 * Also if you have some WPAdverts customizations you can try disabling them and
   see if it helps.
 *  Thread Starter [moacirsantana](https://wordpress.org/support/users/moacirsantana/)
 * (@moacirsantana)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13443645)
 * Ok, turns out the problem was a SMTP plugin I was using.
 * When the ad was created, it was using this plugin to send the emails and it seems
   that this plugin is broken now, ok, that was solved.
 * I renamed the custom wpadverts folder and everything worked well too.
 * Apart from one single detail, the taxonomy page is not working.
 * I renamed it with “categoria”.
 * For example: [https://www.lovecampinas.com.br/categoria/magrinha/](https://www.lovecampinas.com.br/categoria/magrinha/)
 * You can see that it gets the title… but it doesn’t show the content it used to
   show, which was all the ads with that taxonomy.
 * Any ideas? That’d be all.
 * Thank you again!
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13447208)
 * The page you linked to seems to be some kind of landing page, it does not even
   seem to be marked as a taxonomy.
 * Does the category pages work if you switch back to the default advert-category
   prefix?
 *  Thread Starter [moacirsantana](https://wordpress.org/support/users/moacirsantana/)
 * (@moacirsantana)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13448501)
 * No it doesnt work either.
 * By default it should open a page with all the ads with that taxonomy, right?
 * I can’t remember if the plugin already has a default template for that, which
   would open a page like this: lovecampinas.com.br/acompanhantes/
 * But showing the ads of the taxonomy.
 * Thank you again.
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13452340)
 * Yes, the category pages should show something like this lovecampinas.com.br/acompanhantes/
   or at least the Ads with a different layout.
 * In your case this is quite strange as the URL is correct but the HTML does not
   even have the classes which would suggest that this is a taxonomy page.
 * Anyway, what you can try doing is go to wp-content/themes/{your-theme}/ folder
   and check if you have there a taxonomy-advert_category.php file, if you do then
   rename the file for a while and see if the Ads will come back.
 * Also, here [https://wpadverts.com/doc/child-themes-and-templates/](https://wpadverts.com/doc/child-themes-and-templates/),
   check the section “Custom Taxonomy Template” and see if in theme functions.php
   file you have a code (usually using template_redirect filter) which would re-
   route the category pages to a different template.
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13452388)
 * BTW. Do you have somewhere in your theme files or in wp-admin / Pages panel the
   text from this page [https://www.lovecampinas.com.br/categoria/magrinha/](https://www.lovecampinas.com.br/categoria/magrinha/),
   or in other words can you pinpoint where the text is coming from?
 * This would help to figure out what is causing the problem.
 *  Thread Starter [moacirsantana](https://wordpress.org/support/users/moacirsantana/)
 * (@moacirsantana)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13452633)
 * No I renamed my functions file and wpadverts custom folder and it still doesnt
   work.
 * Well, I’ve never created a template for taxonomies, maybe this never worked and
   I never noticed that.
 * Unless your plugin creates a taxonomy template, does it?
 * If it does, something is missing.. if it doesn’t, I will create the file then.
 * If you could just confirm what I just said above just so I know what’s going 
   on..
 * Anyway, I will create the file then, it will work.
 * **One last thing**
 * I want to renew my WooCommerce addon license, when I click on “update” on my 
   plugins page it just says that it was last updated over an year ago but nothing
   happens.
 * How to proceed? That’d be all.
 * Thank you again!

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

The topic ‘Problem on update’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [moacirsantana](https://wordpress.org/support/users/moacirsantana/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/problem-on-update-2/#post-13452633)
 * Status: not resolved