Template Errors: nflj_showcase_member

  1. Function create_function() is deprecated in /var/www/vhosts/foromtb.com/httpdocs/library/NFLJ/Showcase/Model/Tag.php, line 396:
    395: '0' => $item,
    396: '1' => 'escaped',
    397: '2' => ''
    

Page Time: 0.0660s

Memory: 3.9554 MB (Peak: 5.1793 MB)

Queries (14, time: 0.0324s, 49.1%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000111
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT user.*
    	
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,7,8,10)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,7,8,10)) + like_count) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,11,12,13)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,6,9)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    , rating.fb_percent, rating.fb_positive, xc_trade_preference.*
    FROM xf_user AS user
    
    LEFT JOIN xc_trade_user AS rating ON rating.user_id=user.user_id
    LEFT JOIN xc_trade_preference AS xc_trade_preference ON xc_trade_preference.pr_user_id=user.user_id
    
    WHERE user.user_id = ?
    Params: 263257
    Run Time: 0.001600
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYratingconstPRIMARYPRIMARY4const0unique row not found
    PRIMARYxc_trade_preferenceconstPRIMARYPRIMARY4const0unique row not found
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const3 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 7Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 7Using index condition
  3. SELECT category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_nflj_showcase_category AS category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'showcase_category'
    			AND permission.content_id = category.category_id)
    ORDER BY category.lft
    Run Time: 0.000392
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcategoryALL    85Using filesort
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,foromtb_www.category.category_id1Using where
  4. SELECT COUNT(*)
    FROM xf_nflj_showcase_item as item
    
    		LEFT JOIN xf_nflj_showcase_category AS category ON
    			(category.category_id = item.category_id)				
    WHERE (item.user_id = 263257) AND (item.category_id IN (45, 47, 46, 5, 48, 49, 4, 50, 51, 53, 54, 55, 56, 57, 58, 59, 6, 52, 60, 11, 16, 18, 19, 61, 62, 17, 63, 15, 64, 65, 14, 12, 22, 66, 13, 24, 67, 23, 68, 25, 69, 70, 71, 72, 73, 21, 74, 75, 76, 39, 9, 109, 77, 78, 107, 79, 80, 43, 82, 83, 84, 85, 86, 87, 108, 88, 110, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106)) AND (item.item_state IN ('visible'))
    Run Time: 0.019740
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEitemrefcategoryID,userID,category_last_update,user_id_last_update,category_rating_weighteduserID4const31Using where
  5. SELECT item.*
    	,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, item.username, user.username) AS username,
    	permission.cache_value AS category_permission_cache
    FROM xf_nflj_showcase_item AS item
    	
    		LEFT JOIN xf_nflj_showcase_category AS category ON
    			(category.category_id = item.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = item.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = item.user_id)
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'showcase_category'
    			AND permission.content_id = item.category_id)
    WHERE (item.user_id = 263257) AND (item.category_id IN (45, 47, 46, 5, 48, 49, 4, 50, 51, 53, 54, 55, 56, 57, 58, 59, 6, 52, 60, 11, 16, 18, 19, 61, 62, 17, 63, 15, 64, 65, 14, 12, 22, 66, 13, 24, 67, 23, 68, 25, 69, 70, 71, 72, 73, 21, 74, 75, 76, 39, 9, 109, 77, 78, 107, 79, 80, 43, 82, 83, 84, 85, 86, 87, 108, 88, 110, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106)) AND (item.item_state IN ('visible'))
    ORDER BY item.date_added DESC
     LIMIT 15
    Run Time: 0.004590
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEitemrefcategoryID,userID,category_last_update,user_id_last_update,category_rating_weighteduserID4const31Using where; Using filesort
    SIMPLEcategoryeq_refPRIMARYPRIMARY4foromtb_www.item.category_id1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,foromtb_www.item.category_id1Using where
  6. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (253, 252, 251, 250, 249, 200, 199, 198, 197, 196, 195, 175, 174, 173, 172)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: showcase_item
    Run Time: 0.003286
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrangecontent_type_id_datecontent_type_id_date31 15Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4foromtb_www.attachment.data_id1 
  7. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: dc01641b092c5d889190fd7796730584, , 1555594368
    Run Time: 0.000135
  8. 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, , , NFLJ_Showcase_ControllerPublic_Member, Member, valid, user_id=263257, 1555590768,
    Run Time: 0.000067
  9. SELECT activity.*, user.username 
    FROM xc_trade_activity AS activity
    LEFT JOIN xf_user AS user ON user.user_id=activity.user_id
    WHERE activity.user_id=?
    ORDER BY activity.dateline DESC
    LIMIT 0, ?
    Params: 0, 10
    Run Time: 0.000073
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEactivityrefuser_id_datelineuser_id_dateline4const1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4foromtb_www.activity.user_id1 
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'nflj_showcase_member', 'notice_cookies', 'nflj_showcase_tab_links', 'xcxt_navtabs', 'waindigo_you_are_using_as_user_loginasuser', 'waindigo_moderator_bar_loginasuser', 'siropu_ads_manager_tab_title', 'siropu_ads_manager_ad_type_code', 'siropu_ads_manager_ad_type_banner', 'siropu_ads_manager_ad_type_text', 'siropu_ads_manager_ad_type_link', 'siropu_ads_manager_ad_type_keyword', 'siropu_ads_manager_page_criteria_page_info', 'siropu_ads_manager_admin_home', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'xcfw_copyright', 'xcxt_headinclude', 'xcxt_trading_preferences_link_list', 'xcxt_visitor_panel_addon', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000791
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 33Using where
  11. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('xcxt_trade')
    Params: 2
    Run Time: 0.000046
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  12. SELECT tag.*
    	
    FROM xf_nflj_showcase_tag AS tag
    	
    WHERE 1=1
    	ORDER BY tag.content_count DESC
     LIMIT 25
    Run Time: 0.001409
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEtagALL    532Using filesort
  13. SELECT *
    FROM xf_notification
    ORDER BY notification_id
    Run Time: 0.000092
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_notificationindex PRIMARY4 1 
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('GritterNotifications')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000053
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (141, XenForo Classes: 45)

  1. index.php
  2. library/XenForo/Autoloader.php
  3. library/XenForo/Application.php
  4. library/Zend/Registry.php
  5. library/Lgpl/utf8.php
  6. library/Zend/Config.php
  7. library/config.php
  8. library/XenForo/FrontController.php
  9. library/XenForo/Dependencies/Public.php
  10. library/XenForo/Dependencies/Abstract.php
  11. library/Zend/Controller/Request/Http.php
  12. library/Zend/Controller/Request/Abstract.php
  13. library/Zend/Uri.php
  14. library/Zend/Controller/Response/Http.php
  15. library/Zend/Controller/Response/Abstract.php
  16. library/XenForo/Model/DataRegistry.php
  17. library/XenForo/Model.php
  18. library/Zend/Cache.php
  19. library/Zend/Cache/Backend/File.php
  20. library/Zend/Cache/Backend/ExtendedInterface.php
  21. library/Zend/Cache/Backend/Interface.php
  22. library/Zend/Cache/Backend.php
  23. library/Zend/Cache/Core.php
  24. library/XenForo/CodeEvent.php
  25. library/XenForo/Options.php
  26. library/XenForo/Link.php
  27. library/XenForo/Template/Helper/Core.php
  28. library/NFLJ/Showcase/Listener/Proxy.php
  29. library/Waindigo/Listener/InitDependencies.php
  30. library/Waindigo/Listener/InitDependencies/20141020.php
  31. library/Waindigo/Listener/ControllerPreDispatch/20141011.php
  32. library/BannedAvatar/Listener.php
  33. library/Siropu/AdsManager/Listener.php
  34. library/XenCentral/Trade/Hooks.php
  35. library/XenCentral/Trade/Model/Options.php
  36. library/XenCentral/Trade/Model/Abstract.php
  37. library/XenCentral/Framework/Hooks.php
  38. library/Tapatalk/Listener/LoadClassModel.php
  39. library/UserEss/Listener/Proxy.php
  40. library/Dark/PostRating/EventListener.php
  41. library/Bookmarks/Listener/Proxy.php
  42. library/XenForo/Router.php
  43. library/XenForo/Route/Filter.php
  44. library/XenForo/Route/Interface.php
  45. library/XenForo/Route/ResponseSuffix.php
  46. library/XenForo/Route/Prefix.php
  47. library/XenForo/RouteMatch.php
  48. library/NFLJ/Showcase/Route/Prefix/Showcase.php
  49. library/NFLJ/Showcase/ControllerPublic/Member.php
  50. library/XenForo/ControllerPublic/Abstract.php
  51. library/XenForo/Controller.php
  52. library/Vinavb/CustomNodeIcon/Listener.php
  53. library/GritterNotifications/Listener.php
  54. library/XenForo/Input.php
  55. library/XenForo/Session.php
  56. library/Zend/Db.php
  57. library/Zend/Db/Adapter/Mysqli.php
  58. library/Zend/Db/Adapter/Abstract.php
  59. library/Zend/Db/Select.php
  60. library/Zend/Db/Expr.php
  61. library/Zend/Db/Profiler.php
  62. library/Zend/Db/Statement/Mysqli.php
  63. library/Zend/Db/Statement.php
  64. library/Zend/Db/Statement/Interface.php
  65. library/XenForo/Helper/Ip.php
  66. library/XenForo/Visitor.php
  67. library/XenForo/Model/User.php
  68. library/Waindigo/LoginAsUser/Listener/LoadClass.php
  69. library/Waindigo/Listener/LoadClass.php
  70. library/Waindigo/Listener/LoadClass/20141202.php
  71. library/Waindigo/LoginAsUser/Extend/XenForo/Model/User.php
  72. library/Dark/PostRating/Model/User.php
  73. library/XenCentral/Trade/Model/XfUser.php
  74. library/Zend/Db/Profiler/Query.php
  75. library/XenForo/Permission.php
  76. library/XenForo/Helper/Php.php
  77. library/XenForo/Phrase.php
  78. library/XenForo/Locale.php
  79. library/Waindigo/LoginAsUser/Listener/VisitorSetup.php
  80. library/Waindigo/Listener/VisitorSetup.php
  81. library/Waindigo/Listener/VisitorSetup/20130615.php
  82. library/Waindigo/LoginAsUser/Extend/XenForo/Visitor.php
  83. library/Waindigo/InstallUpgrade/Listener/ControllerPreDispatch.php
  84. library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  85. library/XenForo/ControllerResponse/Reroute.php
  86. library/XenForo/ControllerResponse/Abstract.php
  87. library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.php
  88. library/Tapatalk/Listener/ControllerPostDispatch.php
  89. library/NFLJ/Showcase/Model/Item.php
  90. library/NFLJ/Showcase/Model/Category.php
  91. library/Dark/PostRating/Model.php
  92. library/XenForo/Helper/String.php
  93. library/XenForo/Model/Attachment.php
  94. library/NFLJ/Showcase/Model/Attachment.php
  95. library/XenForo/Route/Prefix/Attachments.php
  96. library/NFLJ/Showcase/Model/Member.php
  97. library/XenForo/ControllerResponse/View.php
  98. library/XenForo/Helper/Cookie.php
  99. library/XenForo/ViewRenderer/HtmlPublic.php
  100. library/XenForo/ViewRenderer/Abstract.php
  101. library/XenForo/Template/Public.php
  102. library/XenForo/Template/Abstract.php
  103. library/XenCentral/Framework/Navigation/Admin.php
  104. library/NFLJ/Showcase/ViewPublic/Member/View.php
  105. library/XenForo/ViewPublic/Base.php
  106. library/XenForo/View.php
  107. library/UserEss/Listener/Hook.php
  108. library/NFLJ/Showcase/Listener/Template.php
  109. library/Waindigo/LoginAsUser/Listener/TemplateCreate.php
  110. library/Waindigo/Listener/TemplateCreate.php
  111. library/Waindigo/Listener/TemplateCreate/20130522.php
  112. library/Waindigo/CustomFields/Listener/TemplateCreate.php
  113. library/Bookmarks/Listener/Hook.php
  114. library/XenForo/Route/Prefix/Members.php
  115. library/XenCentral/Trade/Model/Activity.php
  116. library/XenCentral/Trade/Route/PrefixPublic/Main.php
  117. library/Bookmarks/Listener/NavigationTabs.php
  118. library/Siropu/AdsManager/Helper/General.php
  119. library/NFLJ/Showcase/ViewPublic/Helper/Item.php
  120. library/Waindigo/CustomFields/Listener/TemplatePostRender.php
  121. library/Waindigo/Listener/TemplatePostRender.php
  122. library/Waindigo/Listener/TemplatePostRender/20140711.php
  123. library/Waindigo/Listener/Template.php
  124. library/Waindigo/Listener/Template/20141020.php
  125. library/Tapatalk/Listener/TemplatePostRender.php
  126. library/Tapatalk/EventListener/Hook.php
  127. library/NFLJ/Showcase/Model/Tag.php
  128. library/NFLJ/Showcase/Helper/Tag.php
  129. library/Waindigo/LoginAsUser/Listener/TemplateHook.php
  130. library/Waindigo/Listener/TemplateHook.php
  131. library/Waindigo/Listener/TemplateHook/20141020.php
  132. library/Waindigo/CustomFields/Listener/TemplateHook.php
  133. library/Siropu/AdsManager/Model/Ads.php
  134. library/XenForo/Helper/Criteria.php
  135. library/XenForo/Debug.php
  136. mobiquo/mbqFrame/3rdLib/classTTConnection.php
  137. mobiquo/smartbanner/head.inc.php
  138. library/GritterNotifications/Model/Notification.php
  139. library/XenCentral/Framework/Model/Cache.php
  140. library/XenForo/ViewRenderer/Json.php
  141. library/Vinavb/CustomNodeIcon/Icon.php