Search found 126 matches

by doczimut
Wed Mar 29, 2023 10:47 am
Forum: Deutsch
Topic: Neue und erweiterte Plugins für CMSimple_XH ab 1.7
Replies: 94
Views: 28626

Video_privacy and PHP 8.2

Hello In debug mode, for Video_privacy and PHP 8.2, I have this error message: NOTICE: Only variables should be passed by reference /plugins/video_privacy/index.php:111 Line 111 corresponds to: if (strpos($parse['path'], 'embed') == 1) $video_id = end((explode('/', $parse['path']))); It seems that t...
by doczimut
Fri Mar 17, 2023 5:39 pm
Forum: Addons and Plugins
Topic: Plugin Compatibility with PHP 8
Replies: 69
Views: 28942

Re: Plugin Compatibility with PHP 8

Hello I return to you the deprecated messages. For the file /cmsimple/classes/PluginConfig.php, I saw this fix , however on line 101, put a \ at #[ReturnTypeWillChange] which becomes #[\ReturnTypeWillChange] And the following errors persist: In Admin/Settings/configuration: DEPRECATED: Using ${var} ...
by doczimut
Thu Mar 02, 2023 2:03 pm
Forum: Addons and Plugins
Topic: Plugin Compatibility with PHP 8
Replies: 69
Views: 28942

Re: Plugin Compatibility with PHP 8

I also have these error messages in Admin/Settings/configuration DEPRECATED: Using ${var} in strings is deprecated, use {$var} instead C:\...\cmsimple\classes\CoreConfigFileEdit.php:52 DEPRECATED: Using ${var} in strings is deprecated, use {$var} instead C:\...\cmsimple\classes\CoreConfigFileEdit.ph...
by doczimut
Thu Mar 02, 2023 1:45 pm
Forum: Addons and Plugins
Topic: Plugin Compatibility with PHP 8
Replies: 69
Views: 28942

Re: Plugin Compatibility with PHP 8

The version offered via messaging no longer causes errors for the plugin. For errors from CMSimple and after applying the patch , this error remains: DEPRECATED: Return type of XH\PluginConfig::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or th...
by doczimut
Thu Mar 02, 2023 11:35 am
Forum: Addons and Plugins
Topic: Plugin Compatibility with PHP 8
Replies: 69
Views: 28942

Re: Plugin Compatibility with PHP 8

Yes, it is strange! It works now. However, if I activate the Debug mode, I have: DEPRECATED: Return type of XH\PluginConfig::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily ...
by doczimut
Thu Mar 02, 2023 8:14 am
Forum: Addons and Plugins
Topic: Plugin Compatibility with PHP 8
Replies: 69
Views: 28942

Re: Plugin Compatibility with PHP 8 (jm landing page)

Hello With the plugin jm landing page by cmsimple.sk and PHP 8.2, I have the error message: Uncaught ArgumentCountError: define() expects at least 2 arguments, 1 given in \plugins\jm_landingpage\admin.php:12 Stack trace: #0 \plugins\jm_landingpage\admin.php(12): define('jm_landingpage') #1 \cmsimple...
by doczimut
Mon Jan 16, 2023 4:45 pm
Forum: General
Topic: Disable display a fatal error has occurred...
Replies: 6
Views: 2981

Re: Disable display a fatal error has occurred...

Yes, that's fine, TOP enclosed in single quotes.
Thanks.
by doczimut
Mon Jan 16, 2023 2:10 pm
Forum: General
Topic: Disable display a fatal error has occurred...
Replies: 6
Views: 2981

Re: Disable display a fatal error has occurred...

I had touched something, not on the sites, but the version of the server, PHP from 7.4 to 8.2. In 8.2, a problem is then present and fixed with the error messages displayed (debug mode). I had in the template <?php echo onepage_toplink(TOP); ?> The error disappears with (without the TOP) <?php echo ...
by doczimut
Mon Jan 16, 2023 7:48 am
Forum: General
Topic: Disable display a fatal error has occurred...
Replies: 6
Views: 2981

Disable display a fatal error has occurred...

Hello
I now have an alert message on a few sites: "A fatal error has occurred. Enable Debug Mode".
I haven't changed anything (no error locally for the same site in php 7.4). So while waiting for a more in-depth search, how can this alert no longer appear? Thanks.
by doczimut
Fri Apr 22, 2022 8:48 am
Forum: Templates
Topic: [new free onepage template] fhs-sectionsOP
Replies: 74
Views: 18691

Re: [new free onepage template] fhs-sectionsOP

Thanks, I'll take a look at all of that.