Exception:
Array
(
    [message] => Call to undefined function Vvveb\getLanguageId()
    [file] => /home/listdeto/cms.listdetox.com/plugins/omnipay/plugin.php
    [line_no] => 63
    [line] => 			$lang = $method['lang'][getLanguageId()] ?? [];	 // <==

    [lines] => Array
        (
            [0] => 		Routes::addRoute('/omnipay',  ['module' => 'plugins/omnipay/index/index']);

            [1] => 		Routes::addRoute('/omnipay-success/{key}/{gateway}/#index#/#order_id#',  ['module' => 'plugins/omnipay/index/success']);

            [2] => 		Routes::addRoute('/omnipay-cancel/{key}/{gateway}/#index#/#order_id#',  ['module' => 'plugins/omnipay/index/cancel']);

            [3] => 

            [4] => 		$payment = PaymentApi::getInstance();

            [5] => 

            [6] => 		foreach ($settings as $index => $method) {

            [7] => 			$lang = $method['lang'][getLanguageId()] ?? [];	 // <==

            [8] => 

            [9] => 			if ($lang) {

            [10] => 				unset($method['lang']);

            [11] => 				$method += $lang;

            [12] => 			}

            [13] => 

        )

    [trace] => #0 /home/listdeto/cms.listdetox.com/plugins/omnipay/plugin.php(87): OmnipayPlugin->init()
#1 /home/listdeto/cms.listdetox.com/plugins/omnipay/plugin.php(111): OmnipayPlugin->app()
#2 /home/listdeto/cms.listdetox.com/plugins/omnipay/plugin.php(117): OmnipayPlugin->__construct()
#3 /home/listdeto/cms.listdetox.com/system/extensions/plugins.php(354): include('/home/listdeto/...')
#4 /home/listdeto/cms.listdetox.com/system/core/startup.php(519): Vvveb\System\Extensions\Plugins::loadPlugins(1)
#5 /home/listdeto/cms.listdetox.com/index.php(172): Vvveb\System\Core\start()
#6 {main}
    [code] => Array
        (
            [0] =>  

            [2] => /**

            [3] =>  * Vvveb

            [4] =>  *

            [5] =>  * Copyright (C) 2022  Ziadin Givan

            [6] =>  *

            [7] =>  * This program is free software: you can redistribute it and/or modify

            [8] =>  * it under the terms of the GNU Affero General Public License as

            [9] =>  * published by the Free Software Foundation, either version 3 of the

            [10] =>  * License, or (at your option) any later version.

            [11] =>  *

            [12] =>  * This program is distributed in the hope that it will be useful,

            [13] =>  * but WITHOUT ANY WARRANTY; without even the implied warranty of

            [14] =>  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

            [15] =>  * GNU Affero General Public License for more details.

            [16] =>  *

            [17] =>  * You should have received a copy of the GNU Affero General Public License

            [18] =>  * along with this program.  If not, see .

            [19] =>  *

            [20] =>  */

            [21] => 

            [22] => /*

            [23] => Name: Omnipay payment gateways

            [24] => Slug: omnipay

            [25] => Category: payment

            [26] => Url: https://www.vvveb.com

            [27] => Description: Supported gateways: Paypal Express Checkout, Paypal Pro Checkout, Paypal Rest, Stripe.js, Stripe Checkout.

            [28] => Author: givanz

            [29] => Version: 0.1

            [30] => Thumb: omnipay.svg

            [31] => Author url: https://www.vvveb.com

            [32] => Settings: /admin/index.php?module=plugins/omnipay/settings

            [33] => */

            [34] => 

            [35] => use function Vvveb\getLanguageId;

            [36] => use function Vvveb\getSetting;

            [37] => use Vvveb\Plugins\Omnipay\Payment as PaymentMethod;

            [38] => use function Vvveb\slugify;

            [39] => use Vvveb\System\Core\Request;

            [40] => use Vvveb\System\Event;

            [41] => use Vvveb\System\Payment as PaymentApi;

            [42] => use Vvveb\System\Routes;

            [43] => 

            [44] => if (! defined('V_VERSION')) {

            [45] => 	die('Invalid request!');

            [46] => }

            [47] => 

            [48] => include 'vendor/autoload.php';

            [49] => 

            [50] => class OmnipayPlugin {

            [51] => 	private $namespace = 'omnipay';

            [52] => 

            [53] => 	function init() {

            [54] => 		$settings = getSetting($this->namespace, null, []);

            [55] => 		Routes::addRoute('/omnipay-ipn',  ['module' => 'plugins/omnipay/index/ipn']);

            [56] => 		Routes::addRoute('/omnipay',  ['module' => 'plugins/omnipay/index/index']);

            [57] => 		Routes::addRoute('/omnipay-success/{key}/{gateway}/#index#/#order_id#',  ['module' => 'plugins/omnipay/index/success']);

            [58] => 		Routes::addRoute('/omnipay-cancel/{key}/{gateway}/#index#/#order_id#',  ['module' => 'plugins/omnipay/index/cancel']);

            [59] => 

            [60] => 		$payment = PaymentApi::getInstance();

            [61] => 

            [62] => 		foreach ($settings as $index => $method) {

            [63] => 			$lang = $method['lang'][getLanguageId()] ?? [];	 // <==

            [64] => 

            [65] => 			if ($lang) {

            [66] => 				unset($method['lang']);

            [67] => 				$method += $lang;

            [68] => 			}

            [69] => 

            [70] => 			$method['index'] = $index;

            [71] => 			$name            = (slugify($lang['title'] ?? '') ?: $this->namespace) . $index;

            [72] => 			$payment->registerMethod($name, PaymentMethod::class, $method);

            [73] => 		}

            [74] => 	}

            [75] => 

            [76] => 	function admin() {

            [77] => 		$request = Request::getInstance();

            [78] => 		$module  = $request->get['module'] ?? '';

            [79] => 

            [80] => 		if ($module == 'order/order') {

            [81] => 			$this->init();

            [82] => 		}

            [83] => 	}

            [84] => 

            [85] => 	function app() {

            [86] => 		$this->init();

            [87] => 

            [88] => 		Event::on('Vvveb\Controller\Base', 'init', __CLASS__, function ($site) {

            [89] => 			$request = Request::getInstance();

            [90] => 			$route = $request->get['route'] ?? '';

            [91] => 			$module = $request->get['module'] ?? '';

            [92] => 

            [93] => 			if ($route == '/checkout' || $module == 'checkout/checkout/index' || $route == '/cart/cart') {

            [94] => 				$this->init();

            [95] => 			}

            [96] => 

            [97] => 			return [$site];

            [98] => 		});

            [99] => 	}

            [100] => 

            [101] => 	function __construct() {

            [102] => 		if (Vvveb\isEditor()) {

            [103] => 			return;

            [104] => 		}

            [105] => 

            [106] => 		if (APP == 'admin') {

            [107] => 			$this->admin();

            [108] => 		} else {

            [109] => 			if (APP == 'app') {

            [110] => 				$this->app();

            [111] => 			}

            [112] => 		}

            [113] => 	}

            [114] => }

            [115] => 

            [116] => $omnipay = new OmnipayPlugin();

        )

)