Hi
Greetings to all.
This is my first time on the Forum. I installed Piwigo a few weeks ago and it worked seamlessly. I managed to make the design changes I needed and uploaded 7 extensive albums of photos. I had changed the about page text - directly in the about file but this reverted back when after an update. I tried to install the Persoabout plugin in order to create a permanent change. Doing this simple action resulted in causing a Fatal error when the plugin was launched
Below is the Fatal error code code:
Fatal error: Uncaught Error: Object of class Template could not be converted to string in /home/xql0622yo9kx/ketanphotography.co.uk/plugins/PersonalPlugin/main.inc.php:22 Stack trace: #0 /home/xql0622yo9kx/ketanphotography.co.uk/include/functions_plugins.inc.php(264): add_my_custom_js() #1 /home/xql0622yo9kx/ketanphotography.co.uk/include/common.inc.php(317): trigger_notify('init') #2 /home/xql0622yo9kx/ketanphotography.co.uk/index.php(11): include_once('/home/xql0622yo...') #3 {main} thrown in /home/xql0622yo9kx/ketanphotography.co.uk/plugins/PersonalPlugin/main.inc.php on line 22
Is there any way that I can resolve the issue and resurrect my website? I backed up the files via FTP but stupidly forgot to back up the SQL database.
Please can someone advise me. Any and all advice is welcome.
Piwigo URL:
Cheers
p.s. I believe the version of Piwigo I was using is the latest upgrade 13.6.0
Offline
Hi :-)
code personal plugin ?
Offline
Hi DDtDDT
I'm sorry, not sure what you are you asking. I downloaded and tried to install a plugin called Persoabout. This plugin is meant to install a simple text block on the about page go Piwigo.
Offline
Elmann1 wrote:
....
Fatal error: Uncaught Error: Object of class Template could not be converted to string in /home/xql0622yo9kx/ketanphotography.co.uk/plugins/PersonalPlugin/main.inc.php:22 Stack trace: #0 /
fatal error is for plugin PersonalPlugin
Offline
The first thing you could try is to completely delete the plugin within the plugin folder. I assume it will work again after that. It is best to test the page in incognito mode to exclude cache problems.
For such pages I would use the plugin AdditionalPages, especially since you are much more flexible here and can later add more pages outside of the gallery.
https://de.piwigo.org/ext/extension_view.php?eid=153
Last edited by Christian Girstmair (2023-07-16 20:47:49)
Offline
Thank you both. I will now try to action your advice. Will keep you informed here. Regards
Offline
hi Elmann1 and Christian Girstmair
Thank you so much for your help. Removed the file in the personal plugin folder and my website is back online. Thank you both soo much. Regards
Offline