How To / General
PHP8 error with joomdle wrapper: Undefined constant "STRING"
- Web Buster UK Ltd
-
Topic Author
- Offline
- Premium Member
-
Less
More
1 year 5 months ago - 1 year 5 months ago #1
by Web Buster UK Ltd
PHP8 error with joomdle wrapper: Undefined constant "STRING" was created by Web Buster UK Ltd
Hi Antonio. We are in the process of upgrading to PHP8, and noticed this error when using Joomdle's Moodle wrapper:
Most likely there's missing quotes to encapsulate STRING somewhere in the code.
Undefined constant "STRING"
Most likely there's missing quotes to encapsulate STRING somewhere in the code.
Last edit: 1 year 5 months ago by Web Buster UK Ltd.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
1 year 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic PHP8 error with joomdle wrapper: Undefined constant "STRING"
Good catch. As you say, I found the string STRING without the quotes at components/com_joomdle/views/wrapper/view.html.php, line 118.
You can add the quotes yourself while I release a new version.
Thanks for the bug report!
You can add the quotes yourself while I release a new version.
Thanks for the bug report!
Please Log in or Create an account to join the conversation.
- Web Buster UK Ltd
-
Topic Author
- Offline
- Premium Member
-
1 year 5 months ago #3
by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic PHP8 error with joomdle wrapper: Undefined constant "STRING"
Thanks, that's fixed it!
Please Log in or Create an account to join the conversation.