Skip to content

Conversation

@Ilja-developer
Copy link

Hi There,

First of all, thanks for all the work you've put into this extra.

For the first time, I ran into some notices:

Notice: Undefined property: stdClass::$caption in xx/xx/xx/core/cache/includes/elements/modsnippet/18.include.cache.php on line 87
Notice: Undefined property: stdClass::$credits in xx/xx/xx/core/cache/includes/elements/modsnippet/18.include.cache.php on line 88
Notice: Undefined property: stdClass::$altTag in xx/xx/xx/core/components/imageplus/model/cropengines/PhpThumbOf.php on line 157
Notice: Undefined property: stdClass::$caption in xx/xx/xx/core/components/imageplus/model/cropengines/PhpThumbOf.php on line 169
Notice: Undefined property: stdClass::$credits in xx/xx/xx/core/components/imageplus/model/cropengines/PhpThumbOf.php on line 170

In https://github.com/Jako/ImagePlus/blob/master/core/components/imageplus/elements/snippets/imageplus.snippet.php#L87-L88, could it be $data && isset($data->caption)?

It does occur in PHP 7.0, but not in 7.2.

Hope it's helpful.

Ilja

Jako added 30 commits June 18, 2019 12:30
* New translations default.inc.php (Russian)

* New translations default.inc.php (Russian)

* New translations default.inc.php (Russian)

* New translations default.inc.php (Russian)

* New translations default.inc.php (French)

* New translations default.inc.php (French)

* New translations default.inc.php (Czech)

* New translations default.inc.php (Hungarian)

* New translations default.inc.php (Spanish)

* New translations properties.inc.php (Russian)

* New translations default.inc.php (Russian)

* New translations properties.inc.php (Italian)

* New translations default.inc.php (Italian)

* New translations properties.inc.php (Hungarian)

* New translations properties.inc.php (German)

* New translations properties.inc.php (Czech)

* New translations default.inc.php (German)

* New translations properties.inc.php (French)

* New translations default.inc.php (French)

* New translations properties.inc.php (Dutch)

* New translations default.inc.php (Dutch)

* New translations properties.inc.php (Danish)

* New translations default.inc.php (Danish)

* New translations properties.inc.php (Spanish)
Jako and others added 16 commits April 1, 2024 00:20
Currently translated at 100.0% (25 of 25 strings)

Translation: MODX Extras/System Settings
Translate-URL: https://hosted.weblate.org/projects/modx-extras/imageplus/system-settings/nl/
Currently translated at 100.0% (5 of 5 strings)

Translation: MODX Extras/Properties
Translate-URL: https://hosted.weblate.org/projects/modx-extras/imageplus/properties/da/
* Translated using Weblate (Danish)

Currently translated at 100.0% (5 of 5 strings)

Translation: MODX Extras/Properties
Translate-URL: https://hosted.weblate.org/projects/modx-extras/imageplus/properties/da/

* Translated using Weblate (Italian)

Currently translated at 100.0% (5 of 5 strings)

Translation: MODX Extras/Properties
Translate-URL: https://hosted.weblate.org/projects/modx-extras/imageplus/properties/it/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (5 of 5 strings)

Translation: MODX Extras/Properties
Translate-URL: https://hosted.weblate.org/projects/modx-extras/imageplus/properties/nl/

* Translated using Weblate (Russian)

Currently translated at 100.0% (5 of 5 strings)

Translation: MODX Extras/Properties
Translate-URL: https://hosted.weblate.org/projects/modx-extras/imageplus/properties/ru/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants