Time Δ Debug Message - Perch Runway 3.2
1791920923.02630 [907] SELECT p.pagePath, pr.routePattern, pr.routeRegExp, p.pageTemplate, pr.routeOrder, s.settingValue AS siteOffline FROM swt_pages_staging p LEFT JOIN swt_page_routes pr ON p.pageID=pr.pageID LEFT JOIN swt_settings s ON s.settingID='siteOffline' UNION SELECT NULL AS pagePath, pr2.routePattern, pr2.routeRegExp, pr2.templatePath AS pageTemplate, pr2.routeOrder, NULL AS siteOffline FROM swt_page_routes pr2 WHERE templateID!=0 ORDER BY routeOrder ASC, pagePath ASC
1791920923.05640.0301Matched route: news/[slug:s]
1791920923.05650.0001Server address: 216.73.216.207
1791920923.05650Using master page: /templates/pages/blog/post.php
1791920923.05650Page arguments:
Array
(
    [0] => /news/category
    [s] => category
    [1] => category
)
1791920923.05670.0002 [1] SELECT * FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1791920923.05760.0009 [86] SELECT DISTINCT settingID, settingValue FROM swt_settings WHERE userID=0
1791920923.05950.0019 [1] SELECT locationID FROM swt_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
1791920923.06010.0007INSERT INTO swt_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
1791920923.06420.0041 [1] SELECT * FROM swt_shop_cart WHERE cartID=25069648
1791920923.06490.0006 [1] SELECT * FROM swt_shop_cart WHERE cartID=25069648
1791920923.06540.0006 [nil] SELECT * FROM swt_shop_sales WHERE saleFrom<='2026-10-13 19:48:00' AND saleTo>'2026-10-13 19:48:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
1791920923.06660.0012 [nil] SELECT SQL_CALC_FOUND_ROWS DISTINCT tbl.* FROM ( SELECT idx.itemID, main.*, idx2.indexValue as sortval FROM swt_blog_index idx JOIN swt_blog_posts main ON idx.itemID=main.postID AND idx.itemKey='postID' JOIN swt_blog_index idx2 ON idx.itemID=idx2.itemID AND idx.itemKey='postID' AND idx2.indexKey='_id' WHERE 1=1 AND ((idx.indexKey='postSlug' AND idx.indexValue='category')) AND idx.itemID=idx2.itemID AND idx.itemKey=idx2.itemKey GROUP BY idx.itemID, idx2.indexValue, postID ) as tbl WHERE (postStatus='Published' AND postDateTime<='2026-10-13 19:48:00' ) GROUP BY itemID, sortval ORDER BY sortval ASC LIMIT 0, 10
1791920923.06850.0018 [1] SELECT FOUND_ROWS() AS `count`
1791920923.0690.0005Using template: /templates/blog/post.html
1791920923.06910.0001 [1] SELECT * FROM swt_blog_posts WHERE postStatus='Published' AND postDateTime<='2026-10-13 19:48:00' AND postSlug='category'
1791920923.09550.0264no post
1791920923.09560.0002 [250] SELECT country, countryID FROM swt_shop_countries WHERE countryActive=1 ORDER BY country ASC
1791920923.09710.0014Using template: /templates/pages/attributes/seo.html
1791920923.09740.0003 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM swt_content_regions WHERE regionKey='Banner image' AND (regionPage='/news/post' OR regionPage='*')
1791920923.09830.0009 [nil] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM swt_content_index idx JOIN swt_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN swt_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=104 AND idx.itemRev=0)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
1791920923.09940.0011 [82] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageDepth >=0 AND pageDepth<=2 ORDER BY pageTreePosition ASC
1791920923.10310.0037 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1791920923.10370.0006 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1791920923.10610.0024Using template: /templates/navigation/ps_nav_template.html
1791920923.10620 [6] Using template: /templates/navigation/ps_nav_template_children.html
1791920923.10670.0005 [4] Using template: /templates/navigation/ps_nav_template_children.html
1791920923.10690.0003 [29] Using template: /templates/navigation/ps_nav_template_children.html
1791920923.10850.0016 [10] Using template: /templates/navigation/ps_nav_template_children.html
1791920923.10960.0011 [7] Using template: /templates/navigation/ps_nav_template_children.html
1791920923.11030.0008 [9] Using template: /templates/navigation/ps_nav_template_children.html
1791920923.1120.0017 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' OR pageSortPath='/news/post' LIMIT 1
1791920923.11290.0009 [1] SELECT * FROM swt_pages_staging WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition
1791920923.11530.0025 [1] Using template: /templates/navigation/breadcrumbs.html
1791920923.11570.0003no post
1791920923.11580.0001 [nil] SELECT SQL_CALC_FOUND_ROWS DISTINCT tbl.* FROM ( SELECT idx.itemID, main.*, idx2.indexValue as sortval FROM swt_blog_index idx JOIN swt_blog_posts main ON idx.itemID=main.postID AND idx.itemKey='postID' JOIN swt_blog_index idx2 ON idx.itemID=idx2.itemID AND idx.itemKey='postID' AND idx2.indexKey='_id' WHERE 1=1 AND ((idx.indexKey='postSlug' AND idx.indexValue='category')) AND idx.itemID=idx2.itemID AND idx.itemKey=idx2.itemKey GROUP BY idx.itemID, idx2.indexValue, postID ) as tbl WHERE (postStatus='Published' AND postDateTime<='2026-10-13 19:48:00' ) GROUP BY itemID, sortval ORDER BY sortval ASC LIMIT 0, 1
1791920923.11740.0016 [1] SELECT FOUND_ROWS() AS `count`
1791920923.11790.0005Using template: /templates/blog/post.html
1791920923.11810.0002 [1] SELECT * FROM swt_blog_posts WHERE postID=0 AND postStatus='Published' AND postDateTime<='2026-10-13 19:48:00'
1791920923.11880.0007 [0] Using template: /templates/blog/comment_form.html
1791920923.11910.0003 [nil] SELECT * FROM swt_blog_comments WHERE 1=1 AND postID=0 AND commentStatus='LIVE' ORDER BY FIELD(webmentionType, 'like', 'repost', 'comment', NULL) ASC, commentDateTime ASC
1791920923.19370.0746 [0] Using template: /templates/blog/comment.html
1791920923.19380.0001no post
1791920923.19390.0002 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/what-we-do' OR pageSortPath='/what-we-do' LIMIT 1
1791920923.19510.0012 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-002' LIMIT 1
1791920923.1960.0008 [7] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-002%' AND pageDepth >=1 AND pageDepth<=2 ORDER BY pageTreePosition ASC
1791920923.19820.0022 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1791920923.19870.0006 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1791920923.20130.0026 [6] Using template: /templates/navigation/footer-nav.html
1791920923.20230.0009 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/make-a-difference' OR pageSortPath='/make-a-difference' LIMIT 1
1791920923.2030.0008 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-005' LIMIT 1
1791920923.20360.0005 [38] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-005%' ORDER BY pageTreePosition ASC
1791920923.20690.0033 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1791920923.20730.0004 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1791920923.20940.0021 [10] Using template: /templates/navigation/footer-nav.html
1791920923.21270.0033 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/visit' OR pageSortPath='/visit' LIMIT 1
1791920923.21360.001 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-004' LIMIT 1
1791920923.21420.0005 [30] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-004%' AND pageDepth >=1 AND pageDepth<=2 ORDER BY pageTreePosition ASC
1791920923.21690.0027 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1791920923.21740.0005 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1791920923.21960.0022 [29] Using template: /templates/navigation/footer-nav.html
1791920923.22220.0025 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/make-a-difference' OR pageSortPath='/make-a-difference' LIMIT 1
1791920923.22290.0008 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-005' LIMIT 1
1791920923.22350.0006 [11] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-005%' AND pageDepth >=1 AND pageDepth<=2 ORDER BY pageTreePosition ASC
1791920923.22680.0033 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1791920923.22740.0005 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1791920923.22940.002 [10] Using template: /templates/navigation/footer-nav.html
1791920923.23010.0008Request time: 0.2058
1791920923.23010Process time: 0.2056
1791920923.23010Memory: 1.6226
1791920923.23010
Array
(
    [type] => 8
    [message] => Trying to access array offset on value of type bool
    [file] => /home/forge/staging.sussexwildlifetrust.org.uk/admin/templates/pages/blog/post.php
    [line] => 78
)