Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.7.3.1
    • Fix Version/s: None
    • Component/s: Product Management
    • Labels:
    • How to reproduce the issue ?:
      N/A
    • Tests & Expected Results:
      N/A
    • Documentation Change:
      N/A

      Description

      I have a problem with the prestashop version 1.7.3.1 when I try to add a combination to an existing product the error console shows me this message

      main.bundle.js: 292 POST https://www.xxxxx/admin870sv7xed/index.php/product/form/1796?_token=YgIFih-P2A8RMWJVwwMYANPmU6_vta7O3aCd3KvIn98 500 (Internal Server Error)
      send @ main.bundle.js: 292
      ajax @ main.bundle.js: 292
      send @ form.js? 1.7.0: 856
      send @ form.js? 1.7.0: 1140
      (anonymous) @ main.bundle.js: 389
      dispatch @ main.bundle.js: 292
      _.handle @ main.bundle.js: 292
      VM1674: 1 Uncaught SyntaxError: Unexpected token <in JSON at position 0
           at Function.parse [as parseJSON] (<anonymous>)
           at Object.error (form.js? 1.7.0: 907)
           at l (main.bundle.js: 292)
           at Object.fireWith [as rejectWith] (main.bundle.js: 292)
           at i (main.bundle.js: 292)
           at XMLHttpRequest. <anonymous> (main.bundle.js: 292)

       

      by activating the debug mode I have this other error message

      1/1
      ContextErrorException in Hook.php line 15:
      Notice: Trying to get property of non-object
      in Hook.php line 15
      at ErrorHandler-> handleError ('8', 'Trying to get property of non-object', '/home/xxxxxxx/public_html/override/classes/Hook.php', '15', array ('hook_name' => ' advancedPaymentOptions', 'list' => false, 'context' => object (Context))) in Hook.php line 15
      at Hook :: getHookModuleExecList ('advancedPaymentOptions') in LegacyHookSubscriber.php line 243
      at LegacyHookSubscriber :: getSubscribedEvents () in classes.php line 1853
      at EventDispatcher-> addSubscriber (object (LegacyHookSubscriber)) in appDevDebugProjectContainer.php line 3279
      at appDevDebugProjectContainer-> getPrestashop_Hook_DispatcherService () in bootstrap.php.cache line 2252
      at Container-> get ('prestashop.hook.dispatcher') in appDevDebugProjectContainer.php line 3247
      at appDevDebugProjectContainer-> getPrestashop_Dispatcher_LegacyHooks_SubscriberService () in bootstrap.php.cache line 2252
      at Container-> get ('prestashop.dispatcher.legacy_hooks.subscriber') in classes.php line 1982
      at ContainerAwareEventDispatcher-> lazyLoad ('kernel.controller') in classes.php line 1950
      at ContainerAwareEventDispatcher-> getListeners ('kernel.controller') in TraceableEventDispatcher.php line 238
      at TraceableEventDispatcher-> preProcess ('kernel.controller') in TraceableEventDispatcher.php line 128
      at TraceableEventDispatcher-> dispatch ('kernel.controller', object (FilterControllerEvent)) in bootstrap.php.cache line 3250
      at HttpKernel-> handleRaw (object (Request), '1') in bootstrap.php.cache line 3212
      at HttpKernel-> handle (object (Request), '1', false) in bootstrap.php.cache line 3366
      at ContainerAwareHttpKernel-> handle (object (Request), '1', false) in bootstrap.php.cache line 2566
      at Kernel-> handle (object (Request), '1', false) in index.php line 86

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              luigi luigi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: