Lỗi 0 call to undefined function acymailing_loadmootools joomla

I am trying to set up a page using the module article newsflash adv to show a gallery of products. When I click to show the article title I get this:

Fatal error: Call to undefined function wrap_with_span() in /home/multi123web246/public_html/healthy-living/templates/theme3021/html/mod_articles_news_adv/_folio.php on line 111

If I don't show the article title, the product gallery does not show the the products.

Gyrocode.com

58k14 gold badges151 silver badges186 bronze badges

asked Jun 8, 2015 at 11:25

8

Open modules/mod_articles_news_adv/tmpl/_item.php Replace line 39 with:

<? PHP echo $item->title; ?>

(In your case /home/multi123web246/public_html/healthy-living/templates/theme3021/html/mod_articles_news_adv/_folio.php on line 111)

This problem appears when you choose "Show article title" and by default not linked to an article or set to "No".

Lỗi 0 call to undefined function acymailing_loadmootools joomla

bummi

27.2k14 gold badges63 silver badges101 bronze badges

answered Jul 13, 2015 at 16:18

This is the syntax I used and the error disappeared for me:

<?php echo ($item->title); ?>

answered Jun 6, 2016 at 21:44

Lỗi 0 call to undefined function acymailing_loadmootools joomla

KennyKenny

111 bronze badge

Open the file modules/mod_articles_news_adv/tmpl/_item.php

Replace line 39 with:

<?php echo $item->title;?>

Put before this line without space and it will work for you.

Lỗi 0 call to undefined function acymailing_loadmootools joomla

Alex M.

6352 gold badges6 silver badges20 bronze badges

answered Oct 21, 2015 at 11:15

Lỗi 0 call to undefined function acymailing_loadmootools joomla

HamdyHamdy

11 bronze badge

Well, as of January 2018, this extension hasn't been updated since 2014, hence no longer in tune with latest joomla versions (3.8 was the one to throw the errors for me)

  • Help Videos Watch our tutorials and feature updates
  • Extensions Third-Party Extensions for YOOtheme Pro
  • Experts Hire an independent YOOtheme expert
  • Hosting Recommended WordPress and Joomla hosting

With this latest version, i have this error

Too few arguments to function LSCacheComponentVirtueMart::onContentPrepare(), 1 passed in /var/www/vhosts/xxx/httpdocs/xxx/libraries/vendor/joomla/event/src/Dispatcher.php on line 486 and at least 3 expected .../plugins/system/lscache/components/com_virtuemart.php:284 279 } 280 return $comUrls; 281 } 282 283 284 public function onContentPrepare($context, &$row, &$params, $page = 0) { 285 $productModel = VmModel::getModel('Product'); 286 $total = $productModel->getTotal(); 287 $limitstart = $productModel->_limitStart; 288 $limit = $productModel->_limit; 289 $app = JFactory::getApplication(); LSCacheComponentVirtueMart->onContentPrepare() Joomla\Event\Dispatcher->dispatch() Joomla\CMS\Application\WebApplication->triggerEvent() vDispatcher::trigger() shopFunctionsF::triggerContentPlugin() VirtuemartViewCategory->display() VirtueMartControllerCategory->display() Joomla\CMS\MVC\Controller\BaseController->execute() require_once() Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() Joomla\CMS\Component\ComponentHelper::renderComponent() Joomla\CMS\Application\SiteApplication->dispatch() Joomla\CMS\Application\SiteApplication->doExecute() Joomla\CMS\Application\CMSApplication->execute() require_once() LSCacheComponentVirtueMart->onContentPrepare() .../libraries/vendor/joomla/event/src/Dispatcher.php:486 481 if ($event->isStopped()) 482 { 483 return $event; 484 } 485 486 $listener($event); 487 } 488 } 489 490 return $event; 491 } Joomla\Event\Dispatcher->dispatch() .../libraries/src/Application/EventAware.php:111 106 $event = new $className($eventName, $args); 107 } else { 108 throw new \InvalidArgumentException('The arguments must either be an event or an array'); 109 } 110 111 $result = $dispatcher->dispatch($eventName, $event); 112 113 // @todo - There are still test cases where the result isn't defined, temporarily leave the isset check in place 114 return !isset($result['result']) || \is_null($result['result']) ? [] : $result['result']; 115 } 116 } Joomla\CMS\Application\WebApplication->triggerEvent() .../administrator/components/com_virtuemart/helpers/vdispatcher.php:41 36 } 37 38 if(JVM_VERSION<4){ 39 return self::$dispatcher->trigger($name, $params); 40 } else { 41 return self::$dispatcher->triggerEvent($name, $params); 42 } 43 } 44 45 static function setDispatcher() { 46 vDispatcher::trigger() .../components/com_virtuemart/helpers/shopfunctionsf.php:1160 1155 jimport ('joomla.registry.registry'); 1156 $params = new JRegistry(''); 1157 if (!isset($article->event)) { 1158 $article->event = new stdClass(); 1159 } 1160 $results = vDispatcher::trigger ('onContentPrepare', array('com_virtuemart.'.$context, &$article, &$params, 0)); 1161 // More events for 3rd party content plugins 1162 // This do not disturb actual plugins, because we don't modify $vendor->text 1163 $res = vDispatcher::trigger ('onContentAfterTitle', array('com_virtuemart.'.$context, &$article, &$params, 0)); 1164 $article->event->afterDisplayTitle = trim (implode ("\n", $res)); 1165 shopFunctionsF::triggerContentPlugin() .../components/com_virtuemart/views/category/view.html.php:369 364 } else { 365 $this->category->children = false; 366 } 367 368 if (VmConfig::get('enable_content_plugin', 0)) { 369 shopFunctionsF::triggerContentPlugin($this->category, 'category','category_description'); 370 } 371 372 if(empty($this->category->category_template)){ 373 $this->category->category_template = VmConfig::get('categorytemplate'); 374 } VirtuemartViewCategory->display() .../components/com_virtuemart/controllers/category.php:61 56 57 $view = $this->getView($viewName, $viewType, '', array('layout' => $viewLayout)); 58 59 $view->assignRef('document', $document); 60 61 $view->display(); 62 //} 63 if($categoryId = vRequest::getInt('virtuemart_category_id',0)){ 64 shopFunctionsF::setLastVisitedCategoryId($categoryId); 65 } 66 return $this; VirtueMartControllerCategory->display() .../libraries/src/MVC/Controller/BaseController.php:678 673 } 674 675 // Record the actual task being fired 676 $this->doTask = $doTask; 677 678 return $this->$doTask(); 679 } 680 681 /** 682 * Method to get a model object, loading it if required. 683 * Joomla\CMS\MVC\Controller\BaseController->execute() .../components/com_virtuemart/virtuemart.php:123 118 119 120 if (class_exists($_class)) { 121 $controller = new $_class(); 122 123 $controller->execute($task); 124 125 if(class_exists('vmrouterHelper') and vmrouterHelper::$updateCache and VmConfig::get('useCacheVmGetCategoryRoute',1)){ 126 vmrouterHelper::updateCache(); 127 } 128 require_once() .../libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 66 // Load common and local language files. 67 $lang->load($this->app->scope, JPATH_BASE) || $lang->load($this->app->scope, JPATH_COMPONENT); 68 69 // Execute the component 70 $loader = static function ($path) { 71 require_once $path; 72 }; 73 $loader($path); 74 } 75 } Arguments 0 string(89) "/var/www/vhosts/xxx/httpdocs/xxx/components/com_virtuemart/virtuemart.php" Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() .../libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 68 69 // Execute the component 70 $loader = static function ($path) { 71 require_once $path; 72 }; 73 $loader($path); 74 } 75 } Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() .../libraries/src/Component/ComponentHelper.php:361 356 if (!static::isEnabled($option)) { 357 throw new MissingComponentException(Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404); 358 } 359 360 ob_start(); 361 $app->bootComponent($option)->getDispatcher($app)->dispatch(); 362 $contents = ob_get_clean(); 363 364 // Revert the scope 365 $app->scope = $scope; 366 Joomla\CMS\Component\ComponentHelper::renderComponent() .../libraries/src/Application/SiteApplication.php:208 203 $document->setGenerator('Joomla! - Open Source Content Management - Version ' . JVERSION); 204 } else { 205 $document->setGenerator('Joomla! - Open Source Content Management'); 206 } 207 208 $contents = ComponentHelper::renderComponent($component); 209 $document->setBuffer($contents, 'component'); 210 211 // Trigger the onAfterDispatch event. 212 PluginHelper::importPlugin('system'); 213 $this->triggerEvent('onAfterDispatch'); Joomla\CMS\Application\SiteApplication->dispatch() .../libraries/src/Application/SiteApplication.php:249 244 */ 245 $this->checkUserRequireReset('com_users', 'profile', 'edit', 'com_users/profile.save,com_users/profile.apply,com_users/user.logout'); 246 } 247 248 // Dispatch the application 249 $this->dispatch(); 250 251 // Mark afterDispatch in the profiler. 252 JDEBUG ? $this->profiler->mark('afterDispatch') : null; 253 } 254 Joomla\CMS\Application\SiteApplication->doExecute() .../libraries/src/Application/CMSApplication.php:293 288 $this->sanityCheckSystemVariables(); 289 $this->setupLogging(); 290 $this->createExtensionNamespaceMap(); 291 292 // Perform application routines. 293 $this->doExecute(); 294 295 // If we have an application document object, render it. 296 if ($this->document instanceof \Joomla\CMS\Document\Document) { 297 // Render the application output. 298 $this->render(); Joomla\CMS\Application\CMSApplication->execute() .../includes/app.php:61 56 57 // Set the application as global app 58 \Joomla\CMS\Factory::$application = $app; 59 60 // Execute the application. 61 $app->execute(); require_once() .../index.php:32 27 * define() is used rather than "const" to not error for PHP 5.2 and lower 28 */ 29 define('_JEXEC', 1); 30 31 // Run the application - All executable code should be triggered through this file 32 require_once dirname(__FILE__) . '/includes/app.php'; Arguments 0 string(65) "/var/www/vhosts/xxx/httpdocs/xxx/includes/app.php"