*

arun008

  • ***
  • 46 posts
Unable to delete ads
« on: October 18, 2017, 07:38:52 AM »
The listing couldn't be deleted

*

MB Themes

Re: Unable to delete ads
« Reply #1 on: October 18, 2017, 09:19:39 AM »
@arun
Can you go to your database, open table t_item and remove listing manually here?
It should throw you error with problem description. Put it here.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: Unable to delete ads
« Reply #2 on: October 20, 2017, 11:27:58 AM »
solved update version 1.3.1

*

MB Themes

Re: Unable to delete ads
« Reply #3 on: October 20, 2017, 08:31:48 PM »
There was no update on foreign keys so it is strange.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: Unable to delete ads
« Reply #4 on: October 21, 2017, 08:23:41 AM »
I don't no  :) :) :)

*

Loma

  • ***
  • 69 posts
  • Loma
Re: Unable to delete ads
« Reply #5 on: November 19, 2017, 08:00:53 AM »
This problem still not solved for osclass
If any one solved this please help shared code


Regard

*

MB Themes

Re: Unable to delete ads
« Reply #6 on: November 19, 2017, 10:05:57 AM »
@Loma
What error reports database when trying to remove ad?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Loma

  • ***
  • 69 posts
  • Loma
Re: Unable to delete ads
« Reply #7 on: November 19, 2017, 02:28:57 PM »
@MB Themes i don't see anything.
it have problem when use some plugins like favorite plugin or renew plugin.

regard

*

MB Themes

Re: Unable to delete ads
« Reply #8 on: November 19, 2017, 08:35:01 PM »
@Loma
Try to remove something from t_item table, it must report issue with foreign keys and show them. Otherwise it is not problem of any plugin.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Loma

  • ***
  • 69 posts
  • Loma
Re: Unable to delete ads
« Reply #9 on: November 20, 2017, 10:42:32 AM »
i got this message when delete ad

Fatal error: Call to undefined method ModelWishlist::delete_item_all_wishlist() public_html/oc-content/plugins/wishlist/index.php on line 52

////////// line 52 code like below //////



   //@hooks for deactivated, deleted and block items
   function hook_deleted($id){//delete item from user table wen is deleted
      ModelWishlist::newInstance()->delete_item_all_users($id);
      if(!isset($_COOKIE['wishlist_check_cookie'])) {
         ModelWishlist::newInstance()->delete_item_all_wishlist($id);
      }   
   }
   osc_add_hook('delete_item', 'hook_deleted');


regard

*

MB Themes

Re: Unable to delete ads
« Reply #10 on: November 20, 2017, 11:49:16 AM »
@Loma
Try to uninstall wishlist plugin,.... I would say it's bug, it should be ModelWishlist::newInstance()->delete_item_all_wishlist()
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Loma

  • ***
  • 69 posts
  • Loma
Re: Unable to delete ads
« Reply #11 on: November 20, 2017, 04:24:14 PM »
now i contact developer and he fixed it already