Cacti / plugin_gexport

Cacti Graph Export Plugin
GNU General Public License v2.0
12 stars 9 forks source link

PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported #60

Closed TheMetMan closed 11 months ago

TheMetMan commented 11 months ago

Describe the bug I can enable the Plugin, but get this error when I go to Utilities - Graph Exports Full Error:

[proxy_fcgi:error] [pid 1324] [client 10.6.10.10:46284] AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /var/www/cacti-1.2.25/plugins/gexport/gexport.php on line 247', referer: http://pi64-eumetcast.fsoft.nnet/cacti/utilities.php?action=view_logfile

To Reproduce Enable the Plugin and go to the Utilities - Graph Exports Page I get this: 500 Internal Server Error

Expected behavior Should display the Graph Exoprts to configure

Plugin (please complete the following information):

Desktop (please complete the following information):

How can I fix this?

TheWitness commented 11 months ago

Old and duplicate issue. Update to the latest develop branch.

TheMetMan commented 11 months ago

Very sorry, my error, I had installed a previous version without realising it.