Keyword

Error al dar de alta un nuevo articulo

  • Lourdes
  • Lourdes's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 weeks ago - 12 years 4 weeks ago #64186 by Lourdes
Hola:

Cuando intento dar de alta un nuevo articulo, obtengo el siguiente error:

PHP Notice: Undefined property: TableK2Item::$extra_fields_Search in administrator\components\com_k2\models\item.php on line 678

El codigo que hay en la linea antes indicada del archivo item.php es

//Delete attachments
$path = $params->get('attachmentsFolder', NULL);
678 if (is_null($path))
$savepath = JPATH_ROOT.DS.'media'.DS.'k2'.DS.'attachments';
else
$savepath = $path;

$attachments = $itemModel->getAttachments($row->id);

foreach ($attachments as $attachment) {
if (JFile::exists($savepath.DS.$attachment->filename))
JFile::delete($savepath.DS.$attachment->filename);
}

No estoy vinculando al articulo ningun adjunto.

Voy atras en navegador y despues hago clic en el boton de Cancelar y en el listado de articulos aparece.

Las versiones que tengo instaladas son las siguientes:

K2:v2.5.5
PHP:v5.2.5
Joomla: v 1.5.23

Saludos

Please Log in or Create an account to join the conversation.

  • Lourdes
  • Lourdes's Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 weeks ago #64187 by Lourdes
Replied by Lourdes on topic Re: Error al dar de alta un nuevo articulo
Hola:

Finalmente lo que hice fue desinstalar la version 2.5.5 e instalar la 2.4.1 y todo funciona sin problemas.

Saludos

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum