Kubik-Rubik Joomla! Extensions

Kubik-Rubik Joomla! Erweiterungen - Viktor Vogel

Welcome, Guest
Username: Password:

TOPIC: EFSEO error message when used with Jreviews


EFSEO error message when used with Jreviews 2 years 11 months ago #5660

  • happy01
  • happy01's Avatar
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
You need a support subscription to be able to use the forum!

Re: EFSEO error message when used with Jreviews 2 years 10 months ago #5669

  • Vitja
  • Vitja's Avatar
  • OFFLINE
  • Entwickler / Developer
  • Rankadmin
  • Posts: 3491
  • Thank you received: 415
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
Kubik-Rubik Joomla! Erweiterungen

Ich bitte um ein kurzes Review zu meinen Erweiterungen: extensions.joomla.org/extensions/owner/KubikRubik
You need a support subscription to be able to use the forum!

Aw: Re: EFSEO error message when used with Jreviews 2 years 10 months ago #5688

  • Vitja
  • Vitja's Avatar
  • OFFLINE
  • Entwickler / Developer
  • Rankadmin
  • Posts: 3491
  • Thank you received: 415
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!
Kubik-Rubik Joomla! Erweiterungen

Ich bitte um ein kurzes Review zu meinen Erweiterungen: extensions.joomla.org/extensions/owner/KubikRubik
You need a support subscription to be able to use the forum!
Time to create page: 0.665 seconds
You are here: - - - - EFSEO error message when used with Jreviews