Welcome, Guest
Username: Password: Remember me

TOPIC: EFSEO error message when used with Jreviews

EFSEO error message when used with Jreviews 3 years 7 months ago #5660

Hi,

I recently installed EFSEO - Joomla 1.5, on my website, that uses a listings component called Jreviews.

When I try to add a listing as one of my users would, I get the following error message:

Notice: Undefined offset: 0 in /home/happy019/public_html/plugins/system/easyfrontendseo.php on line 519

This error does not look good especially when a user is trying to add a paid listing.

Do you know why this is happening and how I can stop this error from displaying.

Thanks,

Jason
  • happy01
  • happy01's Avatar
The administrator has disabled public write access.

Re: EFSEO error message when used with Jreviews 3 years 7 months ago #5669

Hi Jason,

please post all versions that you use (PHP, Joomla! and EFSEO).

Could you please also provide me a test account, so I can test it (via PM).

Regards
  • Vitja
  • Vitja's Avatar
  • Offline
  • Entwickler / Developer
  • Rankadmin
  • Posts: 3651
  • Thank you received: 426
Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
The administrator has disabled public write access.

Aw: Re: EFSEO error message when used with Jreviews 3 years 7 months ago #5688

Okay, try this:

Open: easyfrontendseo.php (plugins/system)

Search:
$bodystart = $matches[0];
$body = str_replace($bodystart, $bodystart . $output, $body);

Change to:
if(!empty($matches[0]))
{
	$bodystart = $matches[0];
	$body = str_replace($bodystart, $bodystart . $output, $body);
}

Have success!
  • Vitja
  • Vitja's Avatar
  • Offline
  • Entwickler / Developer
  • Rankadmin
  • Posts: 3651
  • Thank you received: 426
Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
The administrator has disabled public write access.
Time to create page: 0.056 seconds