0
Welcome Guest! Login
0 items Join Now

Notice: unserialize(): Error at offset 0 of 5 bytes...

  • Notice: unserialize(): Error at offset 0 of 5 bytes...

    Posted 10 years 1 month ago
    • Hi guys,

      I have a strange issue with one website. The error message is:

       Notice: unserialize(): Error at offset 0 of 5 bytes in /home/stagbars/public_html/libraries/gantry/core/renderers/gantrymainbodyrenderer.class.php on line 


      Yeah, the line number is just empty, but I suppose it is triggered by the following code on line 98:

      $position = @unserialize($gantry->get('mainbodyPosition'));


      So, I will try to explain everything in details:

      1. You can see the error for yourself at this link .
      2. This is the InsightFX Template but the issue is also reproducable with the default Gantry Template (see the attached screenshot)
      3. This is Joomla 3.4.0 and Gantry 4.1.29
      4. The issue is ONLY reproducable on MijoShop pages.
      5. MijoShop support was contacted few times but they always say the issue is related to the Gantry Framework (if you want I can paste their replies).
      6. This Notice is not gone when the "Error_Reproting" is disabled.

      So, I suppose there is some conflict between Gantry code and the MojoShop code. Would you please have a look and advice what the root cause can be and how this can be fixed. Thanks!
    • Last Edit: 10 years 1 month ago by Ivo Valkov.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22268
    • Thanks: 3224
    • messin' with stuff

    Re: Notice: unserialize(): Error at offset 0 of 5 bytes...

    Posted 10 years 1 month ago
    • I don't see the error in your screen shot on the live site? Tested from Chrome in Windows 7
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Notice: unserialize(): Error at offset 0 of 5 bytes...

    Posted 10 years 1 month ago
    • I don't see it either, i just tried Chrome, Firefox & Safari on OS X.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Notice: unserialize(): Error at offset 0 of 5 bytes...

    Posted 10 years 1 month ago
    • Thanks for checking guys.
      By the way, I just checked the website and I also do not see the error any more.

      This is the website of one of my customers and probably he has done something (probably disabled the "Error Reporting").

      Yeah, the first thing I asked him to do was to disable the "Error Reporting" but he said that it has not helped. Probably now he has disabled the "Error Repoting" properly :)

      Anyway, I asked him for an update and will update you as soon as possible.

      Thanks once again for looking into it!

Time to create page: 0.071 seconds