I got several problems when installing the 8.2 version:
1-drush en follow doesn't download the last version in github: https://github.com/CherepanovaVS/follow
2-AFter having downloaded the files from the upper Github, I got this first error:
PHP Fatal error: require_once(): Failed opening required 'modules/contrib/follow/follow.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/drupal8/modules/follow/src/FollowLink.php on line 5
3-.. and this second error:
PHP Fatal error: Call to undefined function follow_save_css() in /var/www/drupal8/modules/follow/follow.inst

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DuneBL created an issue. See original summary.

DuneBL’s picture

Here is the patch that convert this version into the https://github.com/CherepanovaVS/follow version

DuneBL’s picture

And here is the patch that correct the 2 problems during installation...

Important: you must patch first with #2 then with this patch (#3)

John Graffio’s picture

I've installed this module on an 8.3.1 test system, and automatically applied that patches indicated.

However, when I go to place a block, nothing gets placed for either the user or site block type. I flushed caches nothing works. This is from the log:

Notice: Use of undefined constant FOLLOW_NAME - assumed 'FOLLOW_NAME' in Drupal\follow\Plugin\Block\User->blockForm() (line 48 of /home/radixcod/public_html/cygnexservices.com/modules/contrib/follow/src/Plugin/Block/User.php) #0 /home/radixcod/public_html/cygnexservices.com/core/includes/bootstrap.inc(552): _drupal_error_handler_real(8, 'Use of undefine...', '/home/radixcod/...', 48, Array) #1 /home/radixcod/public_html/cygnexservices.com/modules/contrib/follow/src/Plugin/Block/User.php(48): _drupal_error_handler(8, 'Use of undefine...', '/home/radixcod/...', 48, Array) #2 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Block/BlockBase.php(182): Drupal\follow\Plugin\Block\User->blockForm(Array, Object(Drupal\Core\Form\SubformState)) #3 /home/radixcod/public_html/cygnexservices.com/core/modules/block/src/BlockForm.php(139): Drupal\Core\Block\BlockBase->buildConfigurationForm(Array, Object(Drupal\Core\Form\SubformState)) #4 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Entity/EntityForm.php(115): Drupal\block\BlockForm->form(Array, Object(Drupal\Core\Form\FormState)) #5 [internal function]: Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState)) #6 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Form/FormBuilder.php(514): call_user_func_array(Array, Array) #7 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Form/FormBuilder.php(271): Drupal\Core\Form\FormBuilder->retrieveForm('block_form', Object(Drupal\Core\Form\FormState)) #8 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(48): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\block\BlockForm), Object(Drupal\Core\Form\FormState)) #9 /home/radixcod/public_html/cygnexservices.com/core/modules/block/src/Controller/BlockAddController.php(27): Drupal\Core\Entity\EntityFormBuilder->getForm(Object(Drupal\block\Entity\Block)) #10 [internal function]: Drupal\block\Controller\BlockAddController->blockAddConfigureForm('user', 'bartik') #11 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #12 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #13 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #14 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #15 [internal function]: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #16 /home/radixcod/public_html/cygnexservices.com/vendor/symfony/http-kernel/HttpKernel.php(144): call_user_func_array(Object(Closure), Array) #17 /home/radixcod/public_html/cygnexservices.com/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #18 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/radixcod/public_html/cygnexservices.com/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/radixcod/public_html/cygnexservices.com/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/radixcod/public_html/cygnexservices.com/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/DrupalKernel.php(656): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /home/radixcod/public_html/cygnexservices.com/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #27 {main}.

and

Notice: Use of undefined constant FOLLOW_ME - assumed 'FOLLOW_ME' in Drupal\follow\Plugin\Block\User->blockForm() (line 49 of /home/radixcod/public_html/cygnexservices.com/modules/contrib/follow/src/Plugin/Block/User.php) #0 /home/radixcod/public_html/cygnexservices.com/core/includes/bootstrap.inc(552): _drupal_error_handler_real(8, 'Use of undefine...', '/home/radixcod/...', 49, Array) #1 /home/radixcod/public_html/cygnexservices.com/modules/contrib/follow/src/Plugin/Block/User.php(49): _drupal_error_handler(8, 'Use of undefine...', '/home/radixcod/...', 49, Array) #2 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Block/BlockBase.php(182): Drupal\follow\Plugin\Block\User->blockForm(Array, Object(Drupal\Core\Form\SubformState)) #3 /home/radixcod/public_html/cygnexservices.com/core/modules/block/src/BlockForm.php(139): Drupal\Core\Block\BlockBase->buildConfigurationForm(Array, Object(Drupal\Core\Form\SubformState)) #4 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Entity/EntityForm.php(115): Drupal\block\BlockForm->form(Array, Object(Drupal\Core\Form\FormState)) #5 [internal function]: Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState)) #6 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Form/FormBuilder.php(514): call_user_func_array(Array, Array) #7 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Form/FormBuilder.php(271): Drupal\Core\Form\FormBuilder->retrieveForm('block_form', Object(Drupal\Core\Form\FormState)) #8 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(48): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\block\BlockForm), Object(Drupal\Core\Form\FormState)) #9 /home/radixcod/public_html/cygnexservices.com/core/modules/block/src/Controller/BlockAddController.php(27): Drupal\Core\Entity\EntityFormBuilder->getForm(Object(Drupal\block\Entity\Block)) #10 [internal function]: Drupal\block\Controller\BlockAddController->blockAddConfigureForm('user', 'bartik') #11 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #12 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #13 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #14 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #15 [internal function]: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #16 /home/radixcod/public_html/cygnexservices.com/vendor/symfony/http-kernel/HttpKernel.php(144): call_user_func_array(Object(Closure), Array) #17 /home/radixcod/public_html/cygnexservices.com/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #18 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/radixcod/public_html/cygnexservices.com/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/radixcod/public_html/cygnexservices.com/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/radixcod/public_html/cygnexservices.com/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /home/radixcod/public_html/cygnexservices.com/core/lib/Drupal/Core/DrupalKernel.php(656): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /home/radixcod/public_html/cygnexservices.com/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #27 {main}.