Opened 7 years ago
Closed 4 years ago
#3003 closed defect (bug) (worksforme)
Tagregator - Twitter resets settings randomly
Reported by: | xkon | Owned by: | coreymckrill |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | needs-patch |
Cc: |
Description (last modified by )
Hello,
While I was working on these tickets: #2100 and #2907
I've noticed that my error log was getting grumpy and I saw this error:
[22-Jul-2017 11:26:20 UTC] PHP Notice: Undefined index: consumer_key in tggr-source-twitter.php on line 152
For some reason when you view the results page on the front end the twitter module bugs out randomly ( not all times ) and after that php error all the settings are getting reset so you are losing all login information etc.
I haven't been able to find out why.
@dipeshkakadiya is on it for a solution so we can implement it on gwtd3 new website as well.
Pointers for devs:
Grab the /trunk of Tagregator through svn, apply the extra patches to have the latest as they have not been implemented yet and then work on this ticket.
Attachments (3)
Change History (11)
This ticket was mentioned in Slack in #meta by xkon. View the logs.
7 years ago
This ticket was mentioned in Slack in #meta-wordcamp by coreymckrill. View the logs.
7 years ago
#6
@
7 years ago
I haven't looked closely at this, but can you reproduce this error on trunk
? If not, then it may be that one of those patches is getting tripped up by how the settings get validated by TGGRSettings
for each of the modules. That class is probably trying to be a little too clever, which makes things more convoluted than they need to be. e.g., maintain_nested_settings()
.
Fixed #2100 and #2907 and Setting reset on data fetch