Skip to content
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

unserialize(): Error at offset #60

Open
therourke opened this issue Oct 6, 2016 · 1 comment
Open

unserialize(): Error at offset #60

therourke opened this issue Oct 6, 2016 · 1 comment

Comments

@therourke
Copy link

therourke commented Oct 6, 2016

Hello! Yes. I still use Lifepress. I still keep my site updated and running. Currently getting this error message on pages of my admin containing twitter items:

A PHP Error was encountered Severity: Notice Message: unserialize(): Error at offset 19 of 37 bytes Filename: models/item_model.php Line Number: 77 Backtrace: File: /home/ME/MYSITE/stream/application/models/item_model.php Line: 77 Function: unserialize File: /home/ME/MYSITE/stream/application/models/item_model.php Line: 167 Function: _process File: /home/ME/MYSITE/stream/application/libraries/lifepress.php Line: 348 Function: get_all_items File: /home/ME/MYSITE/stream/application/controllers/admin/items.php Line: 52 Function: get_items_page File: /home/ME/MYSITE/stream/index.php Line: 251 Function: require_once

The offending line in item_model is: return $this->db->get_where('feeds', array('feed_status' => 'active'))->num_rows();

Problem solvers please help :-)

@MitchellMcKenna
Copy link
Owner

MitchellMcKenna commented Oct 6, 2016

Does the tweets where you get this error have emoji's in them by any chance?

That's where I get errors like that, I'd been planning on converting the tables from utf8 to utf8mb4 so emoji's work on my site, it's kind of cumbersome, when I do I'll add it to a migration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants