This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

marian ion

  • ***
  • 46 posts
Error delete ad
« on: January 18, 2023, 05:32:39 PM »
Hi group. I try to remove my own ad from website and apear this error.

Warning: Undefined variable $symbol in /home/lamanun/public_html/oc-content/plugins/favorite_items/functions.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /home/lamanun/public_html/oc-includes/osclass/utils.php:2295) in /home/lamanun/public_html/oc-includes/osclass/utils.php on line 2301

Any help?

*

MB Themes

Re: Error delete ad
« Reply #1 on: January 18, 2023, 06:15:08 PM »
Looks like some variable is missing.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

marian ion

  • ***
  • 46 posts
Re: Error delete ad
« Reply #2 on: January 18, 2023, 06:17:02 PM »
Looks like some variable is missing.

More detail please. I need to solve this error soon posible. Tks 🙏

*

MB Themes

Re: Error delete ad
« Reply #3 on: January 24, 2023, 09:45:32 AM »
@marian
In functions.php find line:
Code: [Select]
function fi_price_format($price, $symbol_code) {
and bellow it add following:
Code: [Select]
$symbol = '';
Updated plugin as well with few more adjustments.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

PeterB

  • **
  • 22 posts
Re: Error delete ad
« Reply #4 on: January 24, 2023, 07:49:42 PM »
I am having a very similar issue. I deleted three adverts and then got an error.

I do not have the "Warning: Undefined variable $symbol in /home/lamanun/public_html/oc-content/plugins/favorite_items/functions.php on line 237" error.

I only get the error below if I try to log into the dashboard.
Warning: Cannot modify header information - headers already sent by (output started at /home/hospijjj/public_html/jobs/oc-includes/osclass/utils.php:2295) in /home/hospijjj/public_html/jobs/oc-includes/osclass/utils.php on line 2301

OR

I get the following if I try to view an advert on the frontend
Warning: Cannot modify header information - headers already sent by (output started at /home/hospijjj/public_html/jobs/oc-includes/osclass/utils.php:2295) in /home/hospijjj/public_html/jobs/oc-includes/osclass/utils.php on line 2299

Please any assistance would be greatly appreciated.

Marked as best answer by frosticek on January 27, 2023, 04:40:52 PM
*

MB Themes

Re: Error delete ad
« Reply #5 on: January 25, 2023, 11:01:45 AM »
@PeterB
Update plugin ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

PeterB

  • **
  • 22 posts
Re: Error delete ad
« Reply #6 on: January 25, 2023, 01:57:31 PM »
@Marion Ion

Have you managed to solve your issue yet?

What Theme and plugins do you have running on your site?

*

marian ion

  • ***
  • 46 posts
Re: Error delete ad
« Reply #7 on: January 26, 2023, 03:48:08 PM »
@PeterB
Update plugin ;)
Sorry, what plugin have to update?

*

MB Themes

Re: Error delete ad
« Reply #8 on: January 26, 2023, 04:35:25 PM »
Favorite items plugin.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

marian ion

  • ***
  • 46 posts
Re: Error delete ad
« Reply #9 on: January 27, 2023, 04:04:47 PM »
Favorite items plugin.
It works. Tks 👍