-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joomla 3.9.10 PHP 7.2 #9
Comments
Hi Lars Thank you for your input very much appreciated
kind regards
Graeme
…On Tue, 23 Jul 2019 at 12:26, Lars Echterhoff ***@***.***> wrote:
Hi,
first off: This plugin is out of service. I have not maintained it anymore
due to (my own) lack of use.
First off all: This warning is caused by an joomla code. The ModuleHelper.
A library that provides some access to joomla related things.
I do load this Helper but I do not use the specific function that raises
the warning. So the error *might* get raised due to some "scrambled" load
orders. You might be able to resolve it by moving my plugin below or above
other plugins on the plugin management.
[image: image]
<https://user-images.githubusercontent.com/985573/61703219-6fb31e80-ad41-11e9-9139-d3cb46d80e31.png>
The variable $attribs gets injected into the HelperFunction
renderModule($module, $attribs = array()) expects an array. For some
reasons it seems to get anything other than an array (probably an object).
This causes the warning.
You can mute the warnings in the Joomla configuration (System >
Configuration > Server > Error reporting = NONE) but this mutes all
warnings and errors.
Another think you could try is: Get rid of some code I used.
[image: image]
<https://user-images.githubusercontent.com/985573/61708233-9fb3ef00-ad4c-11e9-8d7d-10640d867779.png>
Comment it with /* and */, just like I did in the screenshot. The check if
the plugin still works...
I hope this resolves your issues. Please let me know, so I can look
further into it or update the plugin.
Lars
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9?email_source=notifications&email_token=AHSLILHUHXVRVDFE2YUWWDLQA3TFNA5CNFSM4IF6DX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2SZW5I#issuecomment-514169717>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHSLILGW7ILP6GC3CUBKG3TQA3TFNANCNFSM4IF6DX4Q>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have installed this plugin and get these error messages when I activate the plugin I Have turned error reporting off as this is an error I am getting with some modules But I still get this error when reporting is switched to none and the errors disappear when I turn off the plugin.
Warning: Illegal string offset 'style' in /home/root/htdocs/libraries/src/Helper/ModuleHelper.php on line 235
Warning: Illegal string offset 'style' in /home/root/htdocs/libraries/src/Helper/ModuleHelper.php on line 252
I have another site which has a similar setup but I was using your plugin prior to upgrading to PHP7.2 and although I had similar errors they disappeared when I turned of Error reporting.
Any thoughts
The text was updated successfully, but these errors were encountered: