- Posts: 3
- Thank you received: 0
All questions about EDocman extension
Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle()
- Markward Kufleitner
- Topic Author
- Offline
- New Member
-
Less
More
1 week 1 day ago - 1 week 1 day ago #173880
by Markward Kufleitner
Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle() was created by Markward Kufleitner
Joomla! 5.3.3
eDocman 3.0 editors-xtd Plugin throws above error in line 94 of edocman.php at trying to edit an article in backend.
I worked around it by exchanging above line with:
Please fix this error in the next eDocman release.
Thanks
Markward
eDocman 3.0 editors-xtd Plugin throws above error in line 94 of edocman.php at trying to edit an article in backend.
Code:
$doc->registerAndUseStyle('edocman.editor.style', Uri::root().'plugins/editors-xtd/edocman/css/style.css');
I worked around it by exchanging above line with:
Code:
$doc->addStyleSheet(Uri::root().'plugins/editors-xtd/edocman/css/style.css');
Please fix this error in the next eDocman release.
Thanks
Markward
Last edit: 1 week 1 day ago by Markward Kufleitner.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13254
- Thank you received: 1729
1 week 1 day ago #173881
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle()
Hi Markward,
The mention issue has been resolved in Edocman 3.0
Thanks
Dam
The mention issue has been resolved in Edocman 3.0
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Markward Kufleitner
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
1 week 1 day ago #173882
by Markward Kufleitner
Replied by Markward Kufleitner on topic Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle()
As I mentioned, I already use eDocman 3.0, so the issue isn't resolved for me.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13254
- Thank you received: 1729
1 week 1 day ago #173883
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle()
Hi,
I see, but could you please upgrade it again?
Thanks
Dam
I see, but could you please upgrade it again?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Markward Kufleitner
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
1 week 1 day ago #173884
by Markward Kufleitner
Replied by Markward Kufleitner on topic Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle()
Error is gone, after I manually installed the eDocman 3.0 package.
Can you say, why it didn't work after normally upgrading to eDocman 3.0?
Kind regards and thanks for your help
Markward
Can you say, why it didn't work after normally upgrading to eDocman 3.0?
Kind regards and thanks for your help
Markward
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13254
- Thank you received: 1729
1 week 1 day ago #173886
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle()
That was a minor issue, and we have just fixed it and updated Edocman to version 3.0.
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.