1 (edited by sponch 2023-04-10 16:29:03)

Topic: error when uploading images

Hey,
just tried to upload images into a simpleviewer (showcase) gallery. unfortunatlyi get a yellow warning triangle with the following text "Creation of dynamic property ThemSet:::$config is deprecated in themeset.php, line 60
Even tried clean install.

Showkase pro: 1.76 
PHP: 8.0 (also tested 8.1 and 8.2)

Example Picture attached

Any ideas? Thanks
Sponch

Post's attachments

1.jpg
1.jpg 391.42 kb, 1 downloads since 2023-04-10 

You don't have the permssions to download the attachments of this post.

Re: error when uploading images

That seems strange...
Dynamic properties were deprecated in PHP 8.2 (as noted here) so you should not be receiving this error message under PHP 8.0 or PHP 8.1.
Could you maybe double-check that the problem happens under PHP 8.0 and PHP 8.1?

The developers are aware of the problem and it should be resolved in the next release (although I do not know when this might be).
In the meantime, the workaround really ought to be to use either PHP 8.0 or PHP 8.1 (before dynamic properties were deprecated) or, indeed, any version of PHP from PHP 5.2.0 up to PHP 8.1.17 so please make sure that your web site is definitely using PHP 8.0 or PHP 8.1 rather than PHP 8.2 and let me know how you get on.
Thank you.