Time Δ Debug Message - Perch Runway 3.2
1783469021.38850 [906] 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
1783469021.42330.0348Matched route: news/[slug:s]
1783469021.42340.0002Server address: 216.73.217.142
1783469021.42350Using master page: /templates/pages/blog/post.php
1783469021.42350Page arguments:
Array
(
    [0] => /news/category
    [s] => category
    [1] => category
)
1783469021.42380.0003 [1] SELECT * FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1783469021.42470.001 [86] SELECT DISTINCT settingID, settingValue FROM swt_settings WHERE userID=0
1783469021.42680.002 [1] SELECT * FROM swt_shop_cart WHERE cartID=22757443
1783469021.42740.0007 [1] SELECT * FROM swt_shop_cart WHERE cartID=22757443
1783469021.4280.0006 [nil] SELECT * FROM swt_shop_sales WHERE saleFrom<='2026-07-08 00:03:00' AND saleTo>'2026-07-08 00:03:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
1783469021.42920.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-07-08 00:03:00' ) GROUP BY itemID, sortval ORDER BY sortval ASC LIMIT 0, 10
1783469021.43110.002 [1] SELECT FOUND_ROWS() AS `count`
1783469021.43170.0006Using template: /templates/blog/post.html
1783469021.43180.0001 [1] SELECT * FROM swt_blog_posts WHERE postStatus='Published' AND postDateTime<='2026-07-08 00:03:00' AND postSlug='category'
1783469021.4590.0271no post
1783469021.45920.0002 [250] SELECT country, countryID FROM swt_shop_countries WHERE countryActive=1 ORDER BY country ASC
1783469021.46090.0017Using template: /templates/pages/attributes/seo.html
1783469021.46140.0004 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM swt_content_regions WHERE regionKey='Banner image' AND (regionPage='/news/post' OR regionPage='*')
1783469021.46220.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
1783469021.46370.0014 [82] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageDepth >=0 AND pageDepth<=2 ORDER BY pageTreePosition ASC
1783469021.46680.0031 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1783469021.46750.0007 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1783469021.47030.0028Using template: /templates/navigation/ps_nav_template.html
1783469021.47040.0001 [6] Using template: /templates/navigation/ps_nav_template_children.html
1783469021.47120.0008 [4] Using template: /templates/navigation/ps_nav_template_children.html
1783469021.47170.0005 [29] Using template: /templates/navigation/ps_nav_template_children.html
1783469021.47430.0027 [10] Using template: /templates/navigation/ps_nav_template_children.html
1783469021.47540.0011 [7] Using template: /templates/navigation/ps_nav_template_children.html
1783469021.47610.0007 [9] Using template: /templates/navigation/ps_nav_template_children.html
1783469021.47920.0031 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' OR pageSortPath='/news/post' LIMIT 1
1783469021.48030.0011 [1] SELECT * FROM swt_pages_staging WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition
1783469021.48330.003 [1] Using template: /templates/navigation/breadcrumbs.html
1783469021.48370.0004no post
1783469021.48380.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-07-08 00:03:00' ) GROUP BY itemID, sortval ORDER BY sortval ASC LIMIT 0, 1
1783469021.4860.0022 [1] SELECT FOUND_ROWS() AS `count`
1783469021.48670.0006Using template: /templates/blog/post.html
1783469021.48690.0003 [1] SELECT * FROM swt_blog_posts WHERE postID=0 AND postStatus='Published' AND postDateTime<='2026-07-08 00:03:00'
1783469021.48750.0006 [0] Using template: /templates/blog/comment_form.html
1783469021.4880.0004 [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
1783469021.54420.0562 [0] Using template: /templates/blog/comment.html
1783469021.54430.0001no post
1783469021.54440.0001 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/what-we-do' OR pageSortPath='/what-we-do' LIMIT 1
1783469021.5450.0006 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-002' LIMIT 1
1783469021.54550.0005 [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
1783469021.54780.0023 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1783469021.54830.0004 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1783469021.55030.002 [6] Using template: /templates/navigation/footer-nav.html
1783469021.55110.0008 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/make-a-difference' OR pageSortPath='/make-a-difference' LIMIT 1
1783469021.55240.0013 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-005' LIMIT 1
1783469021.55290.0005 [38] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-005%' ORDER BY pageTreePosition ASC
1783469021.55580.0029 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1783469021.55640.0006 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1783469021.55920.0027 [10] Using template: /templates/navigation/footer-nav.html
1783469021.56150.0023 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/visit' OR pageSortPath='/visit' LIMIT 1
1783469021.56220.0007 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-004' LIMIT 1
1783469021.56270.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
1783469021.5650.0023 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1783469021.56550.0005 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1783469021.56770.0022 [29] Using template: /templates/navigation/footer-nav.html
1783469021.56950.0018 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/make-a-difference' OR pageSortPath='/make-a-difference' LIMIT 1
1783469021.57020.0007 [1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-005' LIMIT 1
1783469021.57080.0005 [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
1783469021.57310.0023 [1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/news/post' LIMIT 1
1783469021.57360.0005 [2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-006-001', '000-006', '000') ORDER BY pageTreePosition DESC
1783469021.57550.0019 [10] Using template: /templates/navigation/footer-nav.html
1783469021.5770.0015Request time: 0.1895
1783469021.5770Process time: 0.1894
1783469021.5770Memory: 1.6243
1783469021.5770
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
)