- Messaggi: 2
- Ringraziamenti ricevuti 0
CP Fatal Error When Uploading Images
- lclark
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
9 Anni 9 Mesi fa #2154
da lclark
CP Fatal Error When Uploading Images è stato creato da lclark
I installed and set up Custom Properties 3.1.10 on a new Joomla 3.3.6 site. Everything was working fine before, but now whenever I upload an image (either in Media Manager or in an article) I get the following error:
Fatal error: Call to undefined method JObject::getKeyName() in \xampp\htdocs\plugins\content\cptags\cptags.php on line 98
Any help on resolving this would be appreciated.
Fatal error: Call to undefined method JObject::getKeyName() in \xampp\htdocs\plugins\content\cptags\cptags.php on line 98
Any help on resolving this would be appreciated.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
9 Anni 9 Mesi fa - 9 Anni 9 Mesi fa #2155
da andrea_4g
Risposta da andrea_4g al topic CP Fatal Error When Uploading Images
I confirm that's a bug.
While we prepare for a new release to solve it, you can fix it by changing a single line of code.
- Edit file plugins\content\cptags\cptags.php
- change line 93 from:
to
The new version of Custom Properties - that includes this fix - will be released in few days.
While we prepare for a new release to solve it, you can fix it by changing a single line of code.
- Edit file plugins\content\cptags\cptags.php
- change line 93 from:
Code:
if ($isNew)
Code:
if ($isNew && is_object($article) && method_exists($article, 'getKeyName'))
The new version of Custom Properties - that includes this fix - will be released in few days.
Ultima Modifica 9 Anni 9 Mesi fa da andrea_4g. Motivo: replaced modification with a more reliable one
Si prega Accesso o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.117 secondi