Jump to content

Bug on /order/config/preconfig/domain


HostingMaster

Recommended Posts

If a customer is logged in and visits this page:

/order/config/preconfig/domain

it gets this error:

Uncaught TypeError, code 0 in /home/....../web/...../public_html/plugins/order/lib/order_types/domain/order_type_domain.php on line 273 Message: Cannot access offset of type string on string

 

in line 272 replace:

   if ($language_setting && array_key_exists('value', $language_setting)) {
                    $language = $language['value'];
                }

with

  if ($language_setting && array_key_exists('value', $language_setting)) {
                    $language = $language_setting['value'];
                }

to fix the error

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...