Wordpress plugin gives Illegal string offset error
Hi friends,
I have a customer who is experiencing a strange error with a plugin for WordPress.
I have a clean install of cPanel on CentOS.
I have enabled one-click installer with WordPress. It works nicely.
When I install the plugin "Send e-mail" by Paolo Melchiorre, I get following error:
[PHP]Warning: Illegal string offset 'Widget' in /{...}/wordpress/wp-content/plugins/send-e-mail/send-e-mail.php on line 18[/PHP]
Line 18 is:
[PHP]if ($ atts ['widget">) {[/PHP]
Can anyone help me with this weird error which I do not understand why occurs?
-
If you're speaking of this plugin, the message at top might help explain the problems: /http://wordpress.org/plugins/send-e-mail/other_notes/ [QUOTE]This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
This isn't a cPanel issue I don't think. You might do better over at the wordpress forums.0 -
[QUOTE]Warning: Illegal string offset 'Widget' in /{...}/wordpress/wp-content/plugins/send-e-mail/send-e-mail.php on line 18
[QUOTE]Line 18 is: PHP Code: if ($ atts ['widget">) {
As Infopro said, this isn't a cPanel issue. This is a plug-in issue. From the error log and your line 18 posted already, i can notice that there were spaces in the line 18. Can you try removing the spaces after '$' and before '[' ?0 -
I would ask on a WordPress-forum. Aaron.Edwards - there are no spaces in the code. It is a formatting errors when I copied the code. Provisional thanks for the help. 0 -
The problem is solved. Thanks for your help, friends. 0
Please sign in to leave a comment.
Comments
4 comments