ERROR: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. QUERY: SELECT ID, post_author, post_date, post_content, post_title, post_name, post_feature_image, comment_status, comment_count, email_title, email_intro FROM lr_blog_posts p LEFT JOIN lr_blog_posts_categories c ON p.ID=c.object_id WHERE term_taxonomy_id=? AND post_date <= ? AND post_status=? GROUP BY c.object_id ORDER BY post_date DESC LIMIT 14
( ! ) Warning: Invalid argument supplied for foreach() in /home/sites/www.lovereading.co.uk/www/core21/modules/blog/blog_functions.php on line 129
Call Stack
#TimeMemoryFunctionLocation
10.0002367216{main}( ).../index.php:0
20.0005380712require_once( '/home/sites/www.lovereading.co.uk/www/core21/load.php' ).../index.php:13
30.09065196648Menu->__construct( ).../load.php:35
40.09065196648Menu->build_menu_items( ).../menu.class.php:7
50.13335337320get_blog_posts_basic( ).../menu.class.php:43
ERROR: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. QUERY: SELECT ID, post_author, post_date, post_content, post_title, post_name, post_feature_image, comment_status, comment_count, email_title, email_intro FROM lr_blog_posts p LEFT JOIN lr_blog_posts_categories c ON p.ID=c.object_id WHERE term_taxonomy_id=? AND post_date <= ? AND post_status=? GROUP BY c.object_id ORDER BY post_date DESC LIMIT 14
( ! ) Warning: Invalid argument supplied for foreach() in /home/sites/www.lovereading.co.uk/www/core21/modules/blog/blog_functions.php on line 129
Call Stack
#TimeMemoryFunctionLocation
10.0002367216{main}( ).../index.php:0
20.0005380712require_once( '/home/sites/www.lovereading.co.uk/www/core21/load.php' ).../index.php:13
30.09065196648Menu->__construct( ).../load.php:35
40.09065196648Menu->build_menu_items( ).../menu.class.php:7
50.19515467768get_blog_posts_basic( ).../menu.class.php:43
ERROR: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. QUERY: SELECT b.Enabled, b.BookID, b.Title, b.Chapter, b.Synopsis, b.Reviews, b.AudiobooksLink, b.CustomLinks, b.SEOTitle, b.SEODescription, b.AppleISBN, b.ReaderReviews, b.TotalVersions, bv.VersionID, bv.VersionTitle, bv.HiResCover, bv.Cover, bv.SmallCover, bv.Format, bv.PubDate, bv.VersionSynopsis, bv.ISBN13, bv.Publisher, bv.ColorTheme, bv.FeatureColor, bv.AudiobookID, bv.MonthEdition, a.AuthorID, a.Fullname, a.Profile, i.IllustratorID, i.IFullname, i.IProfile, t.TranslatorID, t.TFullname, t.TProfile, bi.series_title, bi.pages, bi.bics, bi.book2look_url, bi.themas, bi.isbn13, bi.title, bi.binding, bi.pub_date, bi.author, bi.description, bi.publisher, e.expertname, e.expertid, br.ShortReview AS LRCommentShort, br.FullReview AS LRComment FROM BookNew b LEFT JOIN BookVersion bv ON b.LatestVersionISBN = bv.ISBN13 LEFT JOIN Author a ON b.AuthorID = a.AuthorID LEFT JOIN Illustrator i ON b.IllustratorID = i.IllustratorID LEFT JOIN Translator t ON b.TranslatorID = t.TranslatorID LEFT JOIN BookIndex bi ON b.LatestVersionISBN = bi.isbn13 LEFT JOIN BookReviews br ON bv.ISBN13 = br.ISBN13 AND br.Enabled = 1 AND br.Approved = 1 LEFT JOIN LR_Experts e ON e.expertid = br.ReviewerID WHERE b.Enabled=? AND b.BookID=? ORDER BY bv.PubDate DESC LIMIT 1
( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/sites/www.lovereading.co.uk/www/core21/modules/blog/blog_functions.php:129) in /home/sites/www.lovereading.co.uk/www/core21/utilities/tools/tools_functions.php on line 6
Call Stack
#TimeMemoryFunctionLocation
10.0002367216{main}( ).../index.php:0
20.24355614232require_once( '/home/sites/www.lovereading.co.uk/www/core21/parseurl.php' ).../index.php:27
30.24355614232parseurl( ).../parseurl.php:627
40.24575615672Books->parse_book_url( ).../parseurl.php:31
50.25375628440redirect( ).../books.class.php:837
60.25375628496header ( ).../tools_functions.php:6

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/sites/www.lovereading.co.uk/www/core21/modules/blog/blog_functions.php:129) in /home/sites/www.lovereading.co.uk/www/core21/utilities/tools/tools_functions.php on line 8
Call Stack
#TimeMemoryFunctionLocation
10.0002367216{main}( ).../index.php:0
20.24355614232require_once( '/home/sites/www.lovereading.co.uk/www/core21/parseurl.php' ).../index.php:27
30.24355614232parseurl( ).../parseurl.php:627
40.24575615672Books->parse_book_url( ).../parseurl.php:31
50.25375628440redirect( ).../books.class.php:837
60.25405628600header ( ).../tools_functions.php:8