Open silenz88 opened 9 years ago
Hi silenz88,
Will you let me know what settings you're using for the extension? When you disable the extension and the error goes away, are you disabling all extensions, or just Popular? Are you updating entries through the Control Panel or with a Channel Form outside of the Control Panel?
Hi!
Settings are:
Disabling the popular extension makes no difference. Uninstalling the extension stops the error from happening.
Entries are updated via the contol panel.
Thank you. I have pushed an updated version to GitHub. Will you please install the new master or else add the following at line 54 to system/expressionengine/third_party/popular/tab.popular.php in your instance:
public function validate_publish($params)
{
return FALSE;
}
I can't duplicate the error in my install of ExpressionEngine 2.9.2, so please let me know if this resolves the issue that you're seeing. When a channel entry is submitted, ExpressionEngine calls an optional validation method in Third Party Add-ons that include a publish page Tab. Popular's Tab is purely informational, so no validation is required, but adding this method to the Tab class should resolve the "Undefined index" Notice that PHP is giving you.
Please let me know if you continue to see the issue. If so, please let me know what version of PHP is running on your server.
When I install popular with EE 2.9.2 and try to save/update an entry I'll get a PHP-error:
A PHP Error was encountered Severity: Notice Message: Undefined index: validate_publish Filename: api/Api_channel_entries.php Line Number: 881
When I disable the extension, the error goes away.
Any idea what may cause this?
other extensions active: Channel Images, Editor, Low NoSpam, Low Seg2Cat, Low Variables, NavEE, Tag