I have just tested the updated code. It doesn’t seem to be working.
The log shows
Methods with the same name as their class will not be constructors in a future version of PHP; SphinxClient has a deprecated constructor
1. plugins/search_sphinx/init.php(20): ttrss_error_handler(8192, Methods with the same name as their class will not be constructors in a future version of PHP; SphinxClient has a deprecated constructor, plugins/search_sphinx/sphinxapi.php, 384, Array)
2. plugins/search_sphinx/init.php(20): require_once()
3. classes/pluginhost.php(240): init([PluginHost])
4. classes/pluginhost.php(162): load(af_comics,af_fsckportal,af_psql_trgm,af_readability,af_redditimgur,af_tumblr_1280,af_unburn,af_youtube_embed,af_zz_imgproxy,af_zz_noautoplay,af_zz_vidmute,auth_internal,auth_remote,auto_assign_labels,bookmarklets,cache_starred_images,close_button,fever,googlereaderkeys,hotkeys_noscroll,import_export,mail,mailto,no_iframes,no_title_counters,no_url_hashes,note,nsfw,opencc,search_sphinx,share,shorten_expanded,swap_jk,toggle_sidebar,vf_shared, 1, 1, )
5. classes/article.php(100): load_all(1, 1)
6. classes/handler/public.php(578): create_published_article(TEST TITLE, http://localhost:8081/TEST, , , 1)
7. public.php(50): sharepopup()
It seems that the fetched content is empty