Try to rebuild the search index (just a stupid suggestionSearch deleted posts and threads doesn't seem to be working. That was the main reason I had installed it.
I did that right after installing the addon.Try to rebuild the search index (just a stupid suggestion) I'm not using this addon and i'm also not having access to the code, but it could be the problem because all the new content types aren't in the search index by default
Internally the system is more designed for use with Enhanced Search... Elastic search supports searching on arrays of integers, so we utilized that.Would be interessting to know what the problem here is (just in case if we run into the same problem)
So there's no "real" limit with xenforo search, it's more "the way you use the search" ?Internally the system is more designed for use with Enhanced Search... Elastic search supports searching on arrays of integers, so we utilized that.
Yep... Internally it can be more efficient to have searchable arrays... The downside being that MySQL doesn't support an array column-type so that wouldn't work for the normal default MySQL search.So there's no "real" limit with xenforo search, it's more "the way you use the search" ?
How did you fix this error?Then it breaks the whole site
Code:An exception occurred: unserialize() expects parameter 1 to be string, array given in /home/z22se/public_html/library/XenForo/Model/DataRegistry.php on line 117 XenForo_Application::handlePhpError() unserialize() in XenForo/Model/DataRegistry.php at line 117 XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 144 XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127 XenForo_FrontController->run() in /home/z22se/public_html/index.php at line 13
Error Info
ErrorException: Array to string conversion - library/XenForo/Search/SourceHandler/MySqlFt.php:63
Generated By: Wingwalker84, 24 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'Array to string...', '/home/oakleyfo/...', 63, Array)
#1 /home/oakleyfo/public_html/library/XenForo/Search/SourceHandler/MySqlFt.php(63): implode(' ', Array)
#2 /home/oakleyfo/public_html/library/XenForo/Search/Indexer.php(44): XenForo_Search_SourceHandler_MySqlFt->insertIntoIndex('report', 305, '', 'SPAM talk to th...', 1389972853, Array, '', Array)
#3 /home/oakleyfo/public_html/library/DigitalPointSearch/Search/DataHandler/Report.php(31): XenForo_Search_Indexer->insertIntoIndex('report', 305, '', 'SPAM talk to th...', 1389972853, Array, '', Array)
#4 /home/oakleyfo/public_html/library/XenForo/Search/DataHandler/Abstract.php(238): DigitalPointSearch_Search_DataHandler_Report->_insertIntoIndex(Object(XenForo_Search_Indexer), Array, NULL)
#5 /home/oakleyfo/public_html/library/DigitalPointSearch/Search/DataHandler/Report.php(91): XenForo_Search_DataHandler_Abstract->insertIntoIndex(Object(XenForo_Search_Indexer), Array)
#6 /home/oakleyfo/public_html/library/DigitalPointSearch/DataWriter/ReportComment.php(35): DigitalPointSearch_Search_DataHandler_Report->quickIndex(Object(XenForo_Search_Indexer), Array)
#7 /home/oakleyfo/public_html/library/DigitalPointSearch/DataWriter/ReportComment.php(12): DigitalPointSearch_DataWriter_ReportComment->_indexForSearch()
#8 /home/oakleyfo/public_html/library/XenForo/DataWriter.php(1397): DigitalPointSearch_DataWriter_ReportComment->_postSave()
#9 /home/oakleyfo/public_html/library/XenForo/Model/Report.php(529): XenForo_DataWriter->save()
#10 /home/oakleyfo/public_html/library/XenForo/ControllerPublic/Post.php(470): XenForo_Model_Report->reportContent('post', Array, 'SPAM')
#11 /home/oakleyfo/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Post->actionReport()
#12 /home/oakleyfo/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#13 /home/oakleyfo/public_html/index.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
["url"] => string(46) "http://www.oakleyforum.com/posts/177241/report"
["_GET"] => array(0) {
}
["_POST"] => array(5) {
["message"] => string(4) "SPAM"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(48) "/threads/replacement-lenses-for-ice-picks.11610/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Status:Warning
primary shards are allocated but replicas are not
curl 'http://localhost:9200/_cluster/health?pretty'
The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated.
# Set the number of shards (splits) of an index (5 by default):
#
# index.number_of_shards: 5
# Set the number of replicas (additional copies) of an index (1 by default):
#
# index.number_of_replicas: 1
# Note, that for development on a local machine, with small indices, it usually
# makes sense to "disable" the distributed features:
#
index.number_of_shards: 1
index.number_of_replicas: 0
[root@astra config]# curl 'http://localhost:9200/_cluster/health?pretty'
{
"cluster_name" : "z22se",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 5,
"active_shards" : 5,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 5
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.