Ajax Error when click on comment - problem is Hype Interactions - how to fix it ?

Hi to all, clicking on comment button I have this message: "Unexpected error while performing an AJAX call. Maybe the connection to the server is lost."

 

I have tried to uninstall one to one all plugins and the problem is related to HypeInteractions.

How Can I fix It ? 

thanks !!!!!

 

 

  • Now when I active this plugin entire site goes down with error Http 500... O_o .... :-(

    why ???? tried all releases but always same error.... 

  • How can I fix this Ajax error in Hype Interactions ? thanks !

  • Upgrade:

    the error 500 is due to Hype Feed, withouth Hype Feed site works but there is the Ajax Error when click on comment ....  

  • Check the error log. The ajax error is only the "visible" error that occurs because the server does not respond as expected because some other error occured. And this error is hopefully logged in the error log.

  • Ok, how can I found this error log ? where are they ?

  • Maybe this ?
     

    [16-Jul-2018 22:23:09 Europe/Rome] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
    [16-Jul-2018 22:23:09 Europe/Rome] PHP WARNING: 2018-07-16 22:23:09 (CEST): "opendir(/home/vieniese/elggdata/widgets/rss): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/lib/filestore.php (line 264)
    [16-Jul-2018 22:23:09 Europe/Rome] PHP WARNING: 2018-07-16 22:23:09 (CEST): "opendir(/home/vieniese/elggdata/embed): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/ViewsService.php (line 132)
    [16-Jul-2018 22:23:09 Europe/Rome] PHP WARNING: 2018-07-16 22:23:09 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php (line 434)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "opendir(/home/vieniese/elggdata/widgets/rss): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/lib/filestore.php (line 264)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "opendir(/home/vieniese/elggdata/embed): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/ViewsService.php (line 132)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php (line 434)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/lib/views.php (line 1770)
    [16-Jul-2018 22:23:17 Europe/Rome] ERROR: Cannot modify header information - headers already sent by
    (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Http/ResponseFactory.php (line 98)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Http/ResponseFactory.php (line 98)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Http/ResponseFactory.php (line 98)
    [16-Jul-2018 22:23:17 Europe/Rome] PHP WARNING: 2018-07-16 22:23:17 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Http/ResponseFactory.php (line 98)
    [16-Jul-2018 22:23:19 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::getEntityType() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 559
    [16-Jul-2018 22:23:19 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::addSortQuery() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 569
    [16-Jul-2018 22:23:19 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::addSearchQuery() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 579
    [16-Jul-2018 22:23:19 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::addFilterQuery() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 589
    [16-Jul-2018 22:23:19 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:22 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:24 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:26 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:27 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:27 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:27 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::getEntityType() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 559
    [16-Jul-2018 22:23:27 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::addSortQuery() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 569
    [16-Jul-2018 22:23:27 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::addSearchQuery() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 579
    [16-Jul-2018 22:23:27 Europe/Rome] PHP Strict Standards:  Static function hypeJunction\Lists\EntityList::addFilterQuery() should not be abstract in /home/vieniese/public_html/mod/hypeLists/classes/hypeJunction/Lists/EntityList.php on line 589
    [16-Jul-2018 22:23:27 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:28 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:28 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:29 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:29 Europe/Rome] PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68
    [16-Jul-2018 22:23:39 Europe/Rome] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
    [16-Jul-2018 22:23:39 Europe/Rome] PHP WARNING: 2018-07-16 22:23:39 (CEST): "opendir(/home/vieniese/elggdata/widgets/rss): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/lib/filestore.php (line 264)
    [16-Jul-2018 22:23:40 Europe/Rome] PHP WARNING: 2018-07-16 22:23:40 (CEST): "opendir(/home/vieniese/elggdata/embed): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/ViewsService.php (line 132)
    [16-Jul-2018 22:23:40 Europe/Rome] PHP WARNING: 2018-07-16 22:23:40 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php (line 434)
    [16-Jul-2018 22:23:42 Europe/Rome] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
    [16-Jul-2018 22:23:42 Europe/Rome] PHP WARNING: 2018-07-16 22:23:42 (CEST): "opendir(/home/vieniese/elggdata/widgets/rss): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/lib/filestore.php (line 264)
    [16-Jul-2018 22:23:42 Europe/Rome] PHP WARNING: 2018-07-16 22:23:42 (CEST): "opendir(/home/vieniese/elggdata/embed): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/ViewsService.php (line 132)
    [16-Jul-2018 22:23:42 Europe/Rome] PHP WARNING: 2018-07-16 22:23:42 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php (line 434)
    [16-Jul-2018 22:24:00 Europe/Rome] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
    [16-Jul-2018 22:24:00 Europe/Rome] PHP WARNING: 2018-07-16 22:24:00 (CEST): "opendir(/home/vieniese/elggdata/widgets/rss): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/lib/filestore.php (line 264)
    [16-Jul-2018 22:24:01 Europe/Rome] PHP WARNING: 2018-07-16 22:24:01 (CEST): "opendir(/home/vieniese/elggdata/embed): failed to open dir: No such file or directory" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/ViewsService.php (line 132)
    [16-Jul-2018 22:24:01 Europe/Rome] PHP WARNING: 2018-07-16 22:24:01 (CEST): "Cannot modify header information - headers already sent by (output started at /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php:1)" in file /home/vieniese/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php (line 434)
  • Place the hypelist at the very bottom of the plug-in list.

  • I guess you found the error log then.

    You might want to check out the file /home/vieniese/public_html/mod/elgg_hybridauth/languages/it.php. There's some problem in this file in line 1, possibly an empty line, which is not allowed before <?php. After fixing the error in this file flush the site caches.

    As for the other error: PHP Fatal error:  Call to undefined function elgg_generate_action_url() in /home/vieniese/public_html/mod/hypeDropzone/views/default/input/dropzone.php on line 68. My guess is that you are using a too new version of hypeDropzone here that has already been released for the (still unreleased) Elgg 3.0 and this version very likely doesn't work on Elgg 2.x (see the compatible Elgg version(s) listed on the release page on github). Re-install the latest version compatible with Elgg 2.x: https://github.com/hypeJunction/hypeDropzone/releases/download/5.0.1/hypeDropzone-5.0.1.zip. Maybe you also have too new versions of some other hype* plugins installed if you recently upgraded them. There are no errors about any other plugins listed in the snippet of the log you posted but best make sure there's no problem.

    If the problem still persists, check for entries made in the log at the time the ajax error message appears.

  • thanks a lot! It works for sure with Hype Interactions ! Now works really fine! !! 

    I have re-activated HypeFeed and HypeDiscussions and works all fine! 

    thank you very much !!!!