Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When activating the module in the first time I get a php error #24

Closed
liorkesos opened this issue Aug 14, 2018 · 0 comments
Closed

When activating the module in the first time I get a php error #24

liorkesos opened this issue Aug 14, 2018 · 0 comments
Assignees

Comments

@liorkesos
Copy link
Member

ArgumentCountError: Too few arguments to function remove_action_elementor_adapter(), 1 passed in /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/template-library/manager.php on line 414 and at least 2 expected in remove_action_elementor_adapter() (line 573 of /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/wordpress-functions.php) #0 /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/template-library/manager.php(414): remove_action_elementor_adapter('wp_ajax_element...') #1 /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/template-library/manager.php(25): Drupal\elementor\Drupal_TemplateLibrary_Manager->init_ajax_calls() #2 /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/plugin.php(426): Drupal\elementor\Drupal_TemplateLibrary_Manager->__construct() #3 /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/plugin.php(47): Drupal\elementor\ElementorDrupal->__construct() #4 /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/plugin.php(437): Drupal\elementor\ElementorDrupal::instance() #5 /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor_drupal/elementor.php(34): require('/Applications/M...') #6 /Applications/MAMP/htdocs/elementor8/web/modules/contrib/elementor/elementor.module(3): require('/Applications/M...') #7 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Extension/Extension.php(140): include_once('/Applications/M...') #8 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(127): Drupal\Core\Extension\Extension->load() #9 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php(186): Drupal\Core\Extension\ModuleHandler->load('elementor') #10 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install(Array, true) #11 /Applications/MAMP/htdocs/elementor8/web/core/modules/system/src/Form/ModulesListForm.php(451): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) #12 [internal function]: Drupal\system\Form\ModulesListForm->submitForm(Array, Object(Drupal\Core\Form\FormState)) #13 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Form/FormSubmitter.php(111): call_user_func_array(Array, Array) #14 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState)) #15 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Form/FormBuilder.php(589): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState)) #16 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Form/FormBuilder.php(318): Drupal\Core\Form\FormBuilder->processForm('system_modules', Array, Object(Drupal\Core\Form\FormState)) #17 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Controller/FormController.php(74): Drupal\Core\Form\FormBuilder->buildForm('system_modules', Object(Drupal\Core\Form\FormState)) #18 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #19 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #20 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() #21 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #22 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #23 /Applications/MAMP/htdocs/elementor8/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() #24 /Applications/MAMP/htdocs/elementor8/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #25 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /Applications/MAMP/htdocs/elementor8/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 /Applications/MAMP/htdocs/elementor8/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #30 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #31 /Applications/MAMP/htdocs/elementor8/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #32 /Applications/MAMP/htdocs/elementor8/web/core/lib/Drupal/Core/DrupalKernel.php(666): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #33 /Applications/MAMP/htdocs/elementor8/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #34 {main}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants