Yesterday I purchased MD Megamenu, I tried to ask the question on the forum, but the site returns an error.
1. First I could edit the menu, but I could not add elements, for example Google Maps.
When dragging an element to an item, it flows back.
2. Now I can’t access the edit screen anymore, I installed it on drupal 8 (8.6.10), but when I try to edit the menu I keep a spinning circle, I can’t edit the menu.
The log file says:
MessageWarning: Invalid argument supplied for foreach() in Drupal\md_megamenu\AweLib\AweLib->getMenuItemsByList() (regel 39 van modules/md_megamenu/src/AweLib/AweLib.php
) #0 core/includes/bootstrap.inc
(584): _drupal_error_handler_real(2, 'Invalid argumen...', '/home/...', 39, Array) #1 /
/md_megamenu/src/AweLib/AweLib.php
(39): _drupal_error_handler(2, 'Invalid argumen...', '/home/...', 39, Array) #2 /modules/md_megamenu/src/AweLib/AweLib.php
Hello
Are you using the latest version?
You can send us your site url, admin account to log ị and check this issue
Best Regards,
Hello,
Yes, I use version 1.6.
Just mailed you the login.
Paul
Hello Jamesray
We received your email already, but the 1-time login link does not work
We cannot access
Please check again
Hello
We even could not access your site http://vankasteeldemo.workatweb.nl
We got "this site could not be reached" error
Please check if your country blocks our IP
We are from Vietnam and Our IP add is 117.1.179.27
hello, that is annoying.
Your ip address was not blacklisted but I added it to the whitelist and removed some countries in your area.
We can access now
You are using 2 different script jquery, please remove script external and use the default jquery of Drupal core
http://prntscr.com/mr9k9c
Ok, thanks.
I used another theme, without the second jquery. Still can't access the menu.
If used a test menu, with 3 items (test megamenu), everything is loaded and can be accessed. But then I can't add elements.
See also the errors:
Notice: Undefined index: customStyles in Drupal\awe_builder\AweBuilder\AweBuilderRender::processData() (regel 41 van /modules/awe_builder/src/AweBuilder/AweBuilderRender.php) #0 /core/includes/bootstrap.inc(584): _drupal_error_handler_real(8, 'Undefined index...', '/home/...', 41, Array) #1 /modules/awe_builder/src/AweBuilder/AweBuilderRender.php(41): _drupal_error_handler(8, 'Undefined index...', '/home/...', 41, Array) #2 /modules/md_megamenu/md_megamenu.module(152): Drupal\awe_builder\AweBuilder\AweBuilderRender::processData(Array, Array) #3 /core/lib/Drupal/Core/Theme/ThemeManager.php(287): md_megamenu_preprocess_md_megamenu(Array, 'block', Array) #4 /core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('block', Array) #5 /core/lib/Drupal/Core/Render/Renderer.php(450): Drupal\Core\Render\Renderer->doRender(Array) #6 /core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #7 /core/lib/Drupal/Core/Template/TwigExtension.php(490): Drupal\Core\Render\Renderer->render(Array) #8 /sites/default/files/php/twig/5c77bcf3e6baf_page.html.twig_UNeQ-hQZnoc2pR0DGMLCUwO4Q/dTCFrfhYG_SHC9Qe8zVD1_WROvY9by2LCat06r-yJVg.php(288): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #9 /vendor/twig/twig/lib/Twig/Template.php(215): __TwigTemplate_0ec902fd78537cfe51462c3a65770a19dbc4d59c8fd474cd986d377824b1fc4b->block_content(Array, Array) #10 /sites/default/files/php/twig/5c77bcf3e6baf_page.html.twig_UNeQ-hQZnoc2pR0DGMLCUwO4Q/dTCFrfhYG_SHC9Qe8zVD1_WROvY9by2LCat06r-yJVg.php(88): Twig_Template->displayBlock('content', Array, Array) #11 /vendor/twig/twig/lib/Twig/Template.php(428): __TwigTemplate_0ec902fd78537cfe51462c3a65770a19dbc4d59c8fd474cd986d377824b1fc4b->doDisplay(Array, Array) #12 /vendor/twig/twig/lib/Twig/Template.php(399): Twig_Template->displayWithErrorHandling(Array, Array) #13 /vendor/twig/twig/lib/Twig/Template.php(407): Twig_Template->display(Array) #14 /core/themes/engines/twig/twig.engine(64): Twig_Template->render(Array) #15 /core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/bootstra...', Array) #16 /core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('page', Array) #17 /core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #18 /core/lib/Drupal/Core/Template/TwigExtension.php(490): Drupal\Core\Render\Renderer->render(Array) #19 /sites/default/files/php/twig/5c77bcf3e6baf_html.html.twig_b3QNr4fQN9yB8e6hwBxXxzaoV/Rf-PnP90fEsCRWWSOolFNTvMomYjssUsWC0anNYbkX4.php(88): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #20 /vendor/twig/twig/lib/Twig/Template.php(428): __TwigTemplate_52f86b6f4408cf76a261c89fe41df7e3b6bea983994f5ec59eb2afc44dc10155->doDisplay(Array, Array) #21 /vendor/twig/twig/lib/Twig/Template.php(399): Twig_Template->displayWithErrorHandling(Array, Array) #22 /vendor/twig/twig/lib/Twig/Template.php(407): Twig_Template->display(Array) #23 /core/themes/engines/twig/twig.engine(64): Twig_Template->render(Array) #24 /core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/bootstra...', Array) #25 /core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('html', Array) #26 /core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #27 /core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(147): Drupal\Core\Render\Renderer->render(Array) #28 /core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #29 /core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(148): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #30 /core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch)) #31 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #32 /core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #33 /vendor/symfony/http-kernel/HttpKernel.php(156): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent)) #34 /vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #35 /core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #36 /core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #37 /core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #38 /core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #39 /core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #40 /core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #41 /vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #42 /core/lib/Drupal/Core/DrupalKernel.php(693): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #43 /index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #44 {main}.
and:
Date
User
Locatie
Doorverwijzer
Message
Severity
Hello, it has been 4-5 days since your last reply. Please let me know why it is taking so long.
Jamesray
Hello
We are still working on this issue
We will try to rsspond to you asap!
please check your email for update
hi Cindy, thanks for the update.
I can access now the menu's again, but cannot drag an element into the menu.
Also, I got a warning Megamenu needs Iconapi.
Hello
How can we access your site now?
We need admin account to log in also
hello
we install module iconapi for you already
we see that you are still using 2 jquery files for one page
you can check https://vankasteeldemo.workatweb.nl/md_megamenu/content-iframe, you will see the problem of coonflict between 2 jquery versions https://prnt.sc/mtz8tg
You should only use https://vankasteeldemo.workatweb.nl/core/assets/vendor/jquery/jquery.min...
and remove https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
hello, removed jquery, works now, thanks for the help.