Code: Select all
get_class_methods(): Argument #1 ($object_or_class) must be an object or a valid class name, string given
Code: Select all
#0 C:\xampp\storage\modification\system\engine\loader.php(83): get_class_methods('Modelextensions...')
#1 C:\xampp\htdocs\opencart\catalog\controller\checkout\shipping_method.php(20): Loader->model('extension/shipp...')
#2 C:\xampp\storage\modification\system\engine\action.php(79): ControllerCheckoutShippingMethod->index()
#3 C:\xampp\htdocs\opencart\catalog\controller\startup\router.php(25): Action->execute(Object(Registry))
#4 C:\xampp\storage\modification\system\engine\action.php(79): ControllerStartupRouter->index()
#5 C:\xampp\htdocs\opencart\system\engine\router.php(67): Action->execute(Object(Registry))
#6 C:\xampp\htdocs\opencart\system\engine\router.php(56): Router->execute(Object(Action))
#7 C:\xampp\htdocs\opencart\system\framework.php(169): Router->dispatch(Object(Action), Object(Action))
#8 C:\xampp\htdocs\opencart\system\startup.php(104): require_once('C:\\xampp\\htdocs...')
#9 C:\xampp\htdocs\opencart\index.php(19): start('catalog')
#10 {main}
Code: Select all
<?php
class ModelShipping*** extends Model
{
public function getQuote($address)
{
$method_data = array();
return $method_data;
}
}