Osclass Support Forums

Osclass plugin support => Make Offer Plugin => Topic started by: valentincvc on November 03, 2021, 06:42:04 PM

Title: Make an offer plugin error
Post by: valentincvc on November 03, 2021, 06:42:04 PM
Hello! i have a problem with make an offer plugin.

I will show my error log.

[03-Nov-2021 19:36:04 Europe/Bucharest] PHP Warning:  Use of undefined constant osc_item_price - assumed 'osc_item_price' (this will throw an Error in a future version of PHP) in /home2/ofertez/public_html/oc-content/themes/gamma/loop-single.php on line 45
[03-Nov-2021 19:36:08 Europe/Bucharest] PHP Fatal error:  Uncaught Error: Class 'ModelUR' not found in /home2/ofertez/public_html/oc-content/plugins/make_offer/functions.php:88
Stack trace:
#0 /home2/ofertez/public_html/oc-content/plugins/make_offer/functions.php(119): mo_profile_img_url('4', Array)
#1 /home2/ofertez/public_html/oc-content/plugins/make_offer/user/offer.php(52): mo_draw_offer(Array, Array, '$')
#2 /home2/ofertez/public_html/oc-content/plugins/make_offer/index.php(206): include('/home2/ofertez/...')
#3 /home2/ofertez/public_html/oc-includes/osclass/classes/Plugins.php(40): mo_offer_list()
#4 /home2/ofertez/public_html/oc-includes/osclass/helpers/hPlugins.php(31): Plugins::runHook('ajax_mo_offers_...')
#5 /home2/ofertez/public_html/oc-includes/osclass/controller/ajax.php(302): osc_run_hook('ajax_mo_offers_...')
#6 /home2/ofertez/public_html/index.php(121): CWebAjax->doModel()
#7 {main}
  thrown in /home2/ofertez/public_html/oc-content/plugins/make_offer/functions.php on line 88

I receive white page when i want to post an new offer.

Please help me!
Title: Re: Make an offer plugin error
Post by: MB Themes on November 04, 2021, 12:51:30 PM
@valentincvc
Thank you,
- update gamma theme and replace all files with original
- update make offer plugin to latest version