Page Time: 0.0584s

Memory: 6.5951 MB (Peak: 6.6961 MB)

Queries (9, time: 0.0401s, 68.6%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000179
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_reply_banned,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra,
    		0 AS thread_is_ignored, 0 AS thread_ignore_news_feed,
                        0 AS thread_ignore_new_posts, 0 AS thread_ignore_forum_view
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 20417
    Run Time: 0.000695
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  3. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'node'
    			AND permission.content_id = forum.node_id)
    WHERE node.node_id = ?
    Params: 16
    Run Time: 0.000258
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  4. SELECT post.*
    	,
    		bb_code_parse_cache.parse_tree AS message_parsed, bb_code_parse_cache.cache_version AS message_cache_version,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_privacy.*,
    		signature_parse_cache.parse_tree AS signature_parsed, bb_code_parse_cache.cache_version AS signature_cache_version,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,5,6,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,11,12)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (2,3,4,7,9,13)) as neutral_rating_count
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    
    		LEFT JOIN xf_bb_code_parse_cache AS bb_code_parse_cache ON
    			(bb_code_parse_cache.content_type = 'post' AND bb_code_parse_cache.content_id = post.post_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_id)
    		LEFT JOIN xf_bb_code_parse_cache AS signature_parse_cache ON
    			(signature_parse_cache.content_type = 'signature' AND signature_parse_cache.content_id = post.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
    left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id)
    left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 20) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 20417
    Run Time: 0.037724
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    PRIMARYbb_code_parse_cacheeq_refcontent_type_idcontent_type_id31const,valinor_xf.post.post_id1Using where
    PRIMARYusereq_refPRIMARYPRIMARY4valinor_xf.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4valinor_xf.post.user_id1 
    PRIMARYuser_privacyeq_refPRIMARYPRIMARY4valinor_xf.post.user_id1 
    PRIMARYsignature_parse_cacheeq_refcontent_type_idcontent_type_id31const,valinor_xf.post.user_id1Using where
    PRIMARYsession_activityeq_refPRIMARYPRIMARY22valinor_xf.post.user_id,func1Using where
    PRIMARYpr_cacheeq_refPRIMARYPRIMARY4valinor_xf.post.post_id1 
    PRIMARYpr2refpost_id_rating,user_id_rating,post_id_user_idpost_id_rating4valinor_xf.post.post_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4valinor_xf.post.user_id1Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4valinor_xf.post.user_id1Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4valinor_xf.post.user_id1Using index condition
  5. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 20417
    Run Time: 0.000250
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 0bd0d462ac31462f8cd17b5f5261821c, , 1561534495
    Run Time: 0.000243
  7. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
    VALUES
    	(?, ?, ?, ?, ?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	ip = VALUES(ip),
    	controller_name = VALUES(controller_name),
    	controller_action = VALUES(controller_action),
    	view_state = VALUES(view_state),
    	params = VALUES(params),
    	view_date = VALUES(view_date),
    	robot_key = VALUES(robot_key)
    Params: 0, , , XenForo_ControllerPublic_Thread, Index, valid, thread_id=20417, 1561530895,
    Run Time: 0.000230
  8. SELECT *
    FROM bbm
    ORDER BY tag
    Run Time: 0.000290
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEbbmALL    10Using filesort
  9. INSERT INTO xf_bb_code_parse_cache
    	(content_type, content_id, parse_tree, cache_version, cache_date)
    VALUES (?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE parse_tree = VALUES(parse_tree),
    	cache_version = VALUES(cache_version),
    	cache_date = VALUES(cache_date)
    Params: post, 670891, a:0:{}, 1547066336, 1561530895
    Run Time: 0.000188

Included Files (182, XenForo Classes: 0)

  1. wordfence-waf.php
  2. wp-content/plugins/wordfence/waf/bootstrap.php
  3. wp-content/plugins/wordfence/waf/wfWAFUserIPRange.php
  4. wp-content/plugins/wordfence/waf/wfWAFIPBlocksController.php
  5. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/init.php
  6. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php
  7. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php
  8. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php
  9. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage.php
  10. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php
  11. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/config.php
  12. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/rules.php
  13. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/parser/lexer.php
  14. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/parser/parser.php
  15. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/parser/sqli.php
  16. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/request.php
  17. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/http.php
  18. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/view.php
  19. wp-content/wflogs/rules.php
  20. wp-content/plugins/wordfence/lib/wfIPWhitelist.php
  21. forum/index.php
  22. forum/library/XenForo/Autoloader.php
  23. forum/library/XenForo/Application.php
  24. forum/library/Zend/Registry.php
  25. forum/library/Lgpl/utf8.php
  26. forum/library/Zend/Config.php
  27. forum/library/config.php
  28. forum/library/SV/RedisCache/Installer.php
  29. forum/library/SV/RedisCache/RedisDataRegistry.php
  30. forum/library/XenForo/Model.php
  31. forum/library/XenForo/FrontController.php
  32. forum/library/XenForo/Dependencies/Public.php
  33. forum/library/XenForo/Dependencies/Abstract.php
  34. forum/library/Zend/Controller/Request/Http.php
  35. forum/library/Zend/Controller/Request/Abstract.php
  36. forum/library/Zend/Uri.php
  37. forum/library/Zend/Controller/Response/Http.php
  38. forum/library/Zend/Controller/Response/Abstract.php
  39. forum/library/Zend/Cache.php
  40. forum/library/Zend/Cache/Backend/Redis.php
  41. forum/library/Redis/lib/Credis/Client.php
  42. forum/library/Redis/lib/Credis/Sentinel.php
  43. forum/library/Redis/Cm/Cache/Backend/Redis.php
  44. forum/library/Zend/Cache/Backend.php
  45. forum/library/Zend/Cache/Backend/ExtendedInterface.php
  46. forum/library/Zend/Cache/Backend/Interface.php
  47. forum/library/Zend/Cache/Core.php
  48. forum/library/XenForo/CodeEvent.php
  49. forum/library/XenForo/Options.php
  50. forum/library/XenForo/Link.php
  51. forum/library/XenForo/Template/Helper/Core.php
  52. forum/library/MobileRead/ProfileBbCode/Listener/InitDependencies.php
  53. forum/library/BBM/Listeners/AllInOne.php
  54. forum/library/XenGallery/Listener.php
  55. forum/library/XfAddOns/Blogs/Listener.php
  56. forum/library/Waindigo/Listener/InitDependencies.php
  57. forum/library/Waindigo/Listener/InitDependencies/20150212.php
  58. forum/library/Waindigo/Listener/ControllerPreDispatch/20150212.php
  59. forum/library/XfAddOns/Blogs/Install/Version.php
  60. forum/library/XenForo/Router.php
  61. forum/library/XenForo/Route/Filter.php
  62. forum/library/XenForo/Route/Interface.php
  63. forum/library/XenForo/Route/ResponseSuffix.php
  64. forum/library/XenForo/Route/Prefix.php
  65. forum/library/XenForo/RouteMatch.php
  66. forum/library/XenForo/Route/Prefix/Threads.php
  67. forum/library/BBM/Protection/Helper/ContentProtection.php
  68. forum/library/XenForo/ControllerPublic/Thread.php
  69. forum/library/XenForo/ControllerPublic/Abstract.php
  70. forum/library/XenForo/Controller.php
  71. forum/library/Waindigo/IgnoreMore/Listener/LoadClass.php
  72. forum/library/Waindigo/Listener/LoadClass.php
  73. forum/library/Waindigo/Listener/LoadClass/20150518.php
  74. forum/library/Awedo/PostAreas/Listener/LoadClassController.php
  75. forum/library/Dark/PostRating/EventListener.php
  76. forum/library/WMTech/UserSelfDeleteLite/Listener.php
  77. forum/library/UserEss/Listener/Proxy.php
  78. forum/library/DigitalPointAdPositioning/Listener/LoadClassControllerPublic/Thread.php
  79. forum/library/WMTech/DoublePost/Listener.php
  80. forum/library/Waindigo/IgnoreMore/Extend/XenForo/ControllerPublic/Thread.php
  81. forum/library/UserEss/ControllerPublic/Thread.php
  82. forum/library/DigitalPointAdPositioning/ControllerPublic/Thread.php
  83. forum/library/WMTech/DoublePost/ControllerPublic/Thread.php
  84. forum/library/XenForo/Input.php
  85. forum/library/XenForo/Session.php
  86. forum/library/Zend/Db.php
  87. forum/library/Zend/Db/Adapter/Mysqli.php
  88. forum/library/Zend/Db/Adapter/Abstract.php
  89. forum/library/Zend/Db/Select.php
  90. forum/library/Zend/Db/Expr.php
  91. forum/library/Zend/Db/Profiler.php
  92. forum/library/Zend/Db/Statement/Mysqli.php
  93. forum/library/Zend/Db/Statement.php
  94. forum/library/Zend/Db/Statement/Interface.php
  95. forum/library/XenForo/Helper/Ip.php
  96. forum/library/XenForo/Visitor.php
  97. forum/library/XenForo/Model/User.php
  98. forum/library/Waindigo/JoinUserGroup/Listener/LoadClass.php
  99. forum/library/RastaLulz/LoggedInCookie/Listener/LoadClass.php
  100. forum/library/Waindigo/JoinUserGroup/Extend/XenForo/Model/User.php
  101. forum/library/Dark/PostRating/Model/User.php
  102. forum/library/UserEss/XenForo/Model/User.php
  103. forum/library/XfAddOns/Blogs/Override/Model/User.php
  104. forum/library/RastaLulz/LoggedInCookie/Model/User.php
  105. forum/library/XenGallery/Model/User.php
  106. forum/library/Zend/Db/Profiler/Query.php
  107. forum/library/XenForo/Permission.php
  108. forum/library/XenForo/Helper/Php.php
  109. forum/library/XenForo/Phrase.php
  110. forum/library/XenForo/Locale.php
  111. forum/library/RastaLulz/LoggedInCookie/Listener/VisitorSetup.php
  112. forum/library/XenForo/Helper/Cookie.php
  113. forum/library/UserEss/Listener/PreDispatch.php
  114. forum/library/Waindigo/JoinUserGroup/Listener/ControllerPreDispatch.php
  115. forum/library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  116. forum/library/XenForo/ControllerHelper/ForumThreadPost.php
  117. forum/library/XenForo/ControllerHelper/Abstract.php
  118. forum/library/XenForo/Model/Thread.php
  119. forum/library/SV/RedisCache/Listener.php
  120. forum/library/Waindigo/IgnoreMore/Extend/XenForo/Model/Thread.php
  121. forum/library/SV/RedisCache/XenForo/Model/Thread.php
  122. forum/library/Dark/PostRating/Model/Thread.php
  123. forum/library/UserEss/Model/Thread.php
  124. forum/library/Dark/PostRating/Model.php
  125. forum/library/SV/RedisCache/XenForo/Model/DataRegistry.php
  126. forum/library/XenForo/Model/Forum.php
  127. forum/library/Waindigo/IgnoreMore/Extend/XenForo/Model/Forum.php
  128. forum/library/UserEss/Model/Forum.php
  129. forum/library/XenForo/Helper/String.php
  130. forum/library/XenForo/Model/Post.php
  131. forum/library/Dark/PostRating/Model/Post.php
  132. forum/library/UserEss/Model/Post.php
  133. forum/library/XfAddOns/Blogs/Override/Model/Post.php
  134. forum/library/XenForo/Model/Attachment.php
  135. forum/library/XenForo/Model/Node.php
  136. forum/library/XenForo/Route/Prefix/Categories.php
  137. forum/library/XenForo/Route/Prefix/Forums.php
  138. forum/library/XenForo/ControllerResponse/View.php
  139. forum/library/XenForo/ControllerResponse/Abstract.php
  140. forum/library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.php
  141. forum/library/UserEss/Listener/PostDispatch.php
  142. forum/library/XenForo/ViewRenderer/HtmlPublic.php
  143. forum/library/XenForo/ViewRenderer/Abstract.php
  144. forum/library/XenForo/Template/Public.php
  145. forum/library/XenForo/Template/Abstract.php
  146. forum/library/XenForo/ViewPublic/Thread/View.php
  147. forum/library/XenForo/ViewPublic/Base.php
  148. forum/library/XenForo/View.php
  149. forum/library/DigitalPointAdPositioning/Listener/LoadClassViewPublic/Thread.php
  150. forum/library/DigitalPointAdPositioning/ViewPublic/Thread/View.php
  151. forum/library/XenForo/BbCode/Parser.php
  152. forum/library/XenForo/BbCode/Formatter/Base.php
  153. forum/library/MobileRead/ProfileBbCode/Listener/Proxy.php
  154. forum/library/MobileRead/ProfileBbCode/BbCode/Formatter/Restricted.php
  155. forum/library/BBM/BbCode/Formatter/Base.php
  156. forum/library/BBM/BbCode/Formatter/Extensions/PreCacheBase.php
  157. forum/library/WMTech/DoublePost/BbCode/Formatter/Base.php
  158. forum/library/BBM/Helper/Bbm.php
  159. forum/library/BBM/Model/BbCodes.php
  160. forum/library/UserEss/Listener/Hook.php
  161. forum/library/XfAddOns/Blogs/Template/Hook.php
  162. forum/library/XenForo/ViewPublic/Helper/Message.php
  163. forum/library/XenForo/BbCode/TextWrapper.php
  164. forum/library/XenForo/Route/Prefix/Members.php
  165. forum/library/XfAddOns/Blogs/Template/Navigation.php
  166. forum/library/XenForo/Template/FileHandler.php
  167. forum/library/XenForo/Helper/File.php
  168. forum/internal_data/templates/S.2,L.2,thread_view.php
  169. forum/library/XenForo/Route/Prefix/Posts.php
  170. forum/library/XenForo/Model/Avatar.php
  171. forum/internal_data/templates/S.2,L.2,dark_postrating_message_user_info.php
  172. forum/library/Tinhte/MoreCurrency/Listener.php
  173. forum/internal_data/templates/S.2,L.2,dark_postrating.php
  174. forum/library/DigitalPointAdPositioning/Callback/AdBelowPost.php
  175. forum/library/XenForo/Helper/Criteria.php
  176. forum/library/XenForo/Debug.php
  177. forum/internal_data/templates/S.2,L.2,PAGE_CONTAINER.php
  178. forum/library/BBM/Helper/BbCodes.php
  179. forum/library/BBM/Listeners/Templates/Public.php
  180. forum/internal_data/templates/S.2,L.2,bbm_js.php
  181. forum/internal_data/templates/S.2,L.2,xengallery_tab_links.php
  182. forum/library/XenForo/ViewRenderer/Json.php