Announcement

#1 2023-07-14 16:27:21

Elmann1
Member
2023-07-14
4

PersoAbout Plugin caused Fatal Error

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

 

#2 2023-07-15 08:07:39

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: PersoAbout Plugin caused Fatal Error

Hi :-)

code personal plugin ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2023-07-16 12:17:58

Elmann1
Member
2023-07-14
4

Re: PersoAbout Plugin caused Fatal Error

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

 

#4 2023-07-16 18:31:52

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: PersoAbout Plugin caused Fatal Error

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


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2023-07-16 20:45:31

Christian Girstmair
Member
Austria
2023-05-24
16

Re: PersoAbout Plugin caused Fatal Error

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

 

#6 2023-07-16 23:43:57

Elmann1
Member
2023-07-14
4

Re: PersoAbout Plugin caused Fatal Error

Thank you both. I will now try to action your advice. Will keep you informed here. Regards

Offline

 

#7 2023-07-17 00:06:33

Elmann1
Member
2023-07-14
4

Re: PersoAbout Plugin caused Fatal Error

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact