I had problems getting CGFeedback to work. First of all the "ratings" -field was not displayed correctly, no drop-down menu but all the ratings were shown on a single line.
After submission of a comment the page was refreshed but it didn't load the header, so no CSS etc. loaded and no comment was submitted.
Also tried it with a completely fresh install of 2.2.10 with empty template & css and no modifications / scripts what so ever. Still didn't work.
After hours of debugging I found that CGFeedback was actually working just fine on another site with older version of CGExtensions. Once I downgraded CGExtensions all the way down to version 1.61 CGFeedback started to work normally. Then I went up one by one and the newest version that works is 1.61.4. With 1.61.5 I start getting the problems mentioned above.
So now it works OK as far as I can tell but I'm afraid I'll run into problems later if I'm forced to update CGExtensions.
CMSMS: 2.2.10 “Spuzzum”
PHP-Version: 7.2
Some stuff from the log for your pleasure. Enjoy:
Code: Select all
[28-May-2019 18:31:14 Europe/Helsinki] PHP Fatal error: Uncaught TypeError: Argument 1 passed to cge_http::post() must be an instance of areinf, string given, called in /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php on line 20 and defined in /blogtest/modules/CGExtensions/lib/class.cge_http.php:97
Stack trace:
#0 /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php(20): cge_http::post('https://api.sto...', Array)
#1 /blogtest/modules/CGFeedback/CGFeedback.module.php(242): CGFeedback\stopforumspam_handler->is_spam(Object(CGFeedback\comment))
#2 [internal function]: CGFeedback->check_stopforumspam(Object(CGFeedback\comment))
#3 /blogtest/lib/classes/class.HookManager.php(240): call_user_func_array(Array, Array)
#4 /blogtest/modules/CGFeedback/action.default.php(246): CMSMS\HookManager::do_hook('CGFeedback::Bef...', Object(CGFeedba in /blogtest/modules/CGExtensions/lib/class.cge_http.php on line 97
[28-May-2019 18:46:59 Europe/Helsinki] PHP Fatal error: Uncaught TypeError: Argument 1 passed to cge_http::post() must be an instance of areinf, string given, called in /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php on line 20 and defined in /blogtest/modules/CGExtensions/lib/class.cge_http.php:97
Stack trace:
#0 /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php(20): cge_http::post('https://api.sto...', Array)
#1 /blogtest/modules/CGFeedback/CGFeedback.module.php(242): CGFeedback\stopforumspam_handler->is_spam(Object(CGFeedback\comment))
#2 [internal function]: CGFeedback->check_stopforumspam(Object(CGFeedback\comment))
#3 /blogtest/lib/classes/class.HookManager.php(240): call_user_func_array(Array, Array)
#4 /blogtest/modules/CGFeedback/action.default.php(246): CMSMS\HookManager::do_hook('CGFeedback::Bef...', Object(CGFeedba in /blogtest/modules/CGExtensions/lib/class.cge_http.php on line 97
[28-May-2019 18:47:27 Europe/Helsinki] PHP Fatal error: Uncaught TypeError: Argument 1 passed to cge_http::post() must be an instance of areinf, string given, called in /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php on line 20 and defined in /blogtest/modules/CGExtensions/lib/class.cge_http.php:97
Stack trace:
#0 /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php(20): cge_http::post('https://api.sto...', Array)
#1 /blogtest/modules/CGFeedback/CGFeedback.module.php(242): CGFeedback\stopforumspam_handler->is_spam(Object(CGFeedback\comment))
#2 [internal function]: CGFeedback->check_stopforumspam(Object(CGFeedback\comment))
#3 /blogtest/lib/classes/class.HookManager.php(240): call_user_func_array(Array, Array)
#4 /blogtest/modules/CGFeedback/action.default.php(246): CMSMS\HookManager::do_hook('CGFeedback::Bef...', Object(CGFeedba in /blogtest/modules/CGExtensions/lib/class.cge_http.php on line 97
[28-May-2019 18:48:07 Europe/Helsinki] PHP Fatal error: Uncaught TypeError: Argument 1 passed to cge_http::post() must be an instance of areinf, string given, called in /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php on line 20 and defined in /blogtest/modules/CGExtensions/lib/class.cge_http.php:97
Stack trace:
#0 /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php(20): cge_http::post('https://api.sto...', Array)
#1 /blogtest/modules/CGFeedback/CGFeedback.module.php(242): CGFeedback\stopforumspam_handler->is_spam(Object(CGFeedback\comment))
#2 [internal function]: CGFeedback->check_stopforumspam(Object(CGFeedback\comment))
#3 /blogtest/lib/classes/class.HookManager.php(240): call_user_func_array(Array, Array)
#4 /blogtest/modules/CGFeedback/action.default.php(246): CMSMS\HookManager::do_hook('CGFeedback::Bef...', Object(CGFeedba in /blogtest/modules/CGExtensions/lib/class.cge_http.php on line 97
[28-May-2019 18:48:41 Europe/Helsinki] PHP Fatal error: Uncaught TypeError: Argument 1 passed to cge_http::post() must be an instance of areinf, string given, called in /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php on line 20 and defined in /blogtest/modules/CGExtensions/lib/class.cge_http.php:97
Stack trace:
#0 /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php(20): cge_http::post('https://api.sto...', Array)
#1 /blogtest/modules/CGFeedback/CGFeedback.module.php(242): CGFeedback\stopforumspam_handler->is_spam(Object(CGFeedback\comment))
#2 [internal function]: CGFeedback->check_stopforumspam(Object(CGFeedback\comment))
#3 /blogtest/lib/classes/class.HookManager.php(240): call_user_func_array(Array, Array)
#4 /blogtest/modules/CGFeedback/action.default.php(246): CMSMS\HookManager::do_hook('CGFeedback::Bef...', Object(CGFeedba in /blogtest/modules/CGExtensions/lib/class.cge_http.php on line 97
[28-May-2019 18:49:18 Europe/Helsinki] PHP Fatal error: Uncaught TypeError: Argument 1 passed to cge_http::post() must be an instance of areinf, string given, called in /blogtest/modules/CGFeedback/lib/class.stopforumspam_handler.php on line 20 and defined in /blogtest/modules/CGExtensions/lib/class.cge_http.php:97


