Register new users its disabled
I have 2 installations of OC, one in a local server and the other in a web server.
I added one test user in both apps using a sql query:
Code: Select all
INSERT INTO oc_customer (customer_group_id, store_id, language_id, firstname, lastname, email, telephone, fax, password, salt, cart, wishlist, newsletter, address_id, custom_field, ip, status, safe, token, code, date_added)
VALUES (1,0, 1, 'John', 'Doe', 'john.doe@gmail.com', '', '', 'f8a75e2ae6fd35fe48588cab85d3cdcf', 'z5na4k2s6', NULL, NULL, 0, 0, '', '::1', 1, 0, '', '', NOW());
Login in the web server app happens without issues but in the local server when I try to login the app display this error:
Code: Select all
Notice: Trying to access array offset on value of type bool in C:\xampp\htdocs\sasa\catalog\controller\startup\startup.php on line 166Notice: Trying to access array offset on value of type bool in C:\xampp\htdocs\sasa\catalog\controller\startup\startup.php on line 166
Code: Select all
$this->tax->setShippingAddress($this->session->data['shipping_address']['country_id'], $this->session->data['shipping_address']['zone_id']);
How I can solve this issue?, why this happen?