Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

    Default unusual blank page issue

    On php 8.3 , zencart 1.58a

    Hi there,
    Had a really strange, but slightly worrying issue. Was just doing a business order for restock, having to search items to check stock etc, clicking on others also. Then all of a sudden got a blank page. But admin page was okay, I was logged in there (not sure if related via IP address perhaps?).
    I went to logs, and there was repeated logs of this, not seen before:-

    PHP Code:
    PHP Fatal errorUncaught TypeErrorcount(): Argument #1 ($value) must be of type Countable|array, null given in /includes/classes/navigation_history.php:47 
    PHP Code:
    Stack trace:
    #0 /includes/autoload_func.php(62): navigationHistory->add_current_page()
    #1 /includes/application_top.php(237): require('/home/****/...')
    #2 /index.php(25): require('/home/****/...')
    #3 {main}
    thrown in /includes/classes/navigation_history.php on line 47 
    I guess its related to some sort of cache? Though I tried in a different browser, it was fine for the live site. But reloading on session in existing browser kept showing blank. I remedied this by changing to php 7.4 temporarily. I put back to php 8.3 and okay now. Though I have not spent the same amount of time clicking and searching items. I don't have any disckcache or anything, unless its recommended to turn off some sort of cache on server? Not that I recall putting one on there, not seen similar with php 7.4. Thanks in advance for any guidance. I also checked to see if any new version for this file, but in 2.1 I see its the same version as 1.58a.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,848
    Plugin Contributions
    11

    Default Re: unusual blank page issue

    i doubt it is related to a cache.

    that said, i would stick to php 8.2 with zc 158.

    see this page.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

    Default Re: unusual blank page issue

    Quote Originally Posted by carlwhat View Post
    i doubt it is related to a cache.

    that said, i would stick to php 8.2 with zc 158.

    see this page.

    best.
    Oh thanks so much! I didn't realise, I know 8.4 isn't supported but didn't see that. As 8.3 was seeming okay, until this unusual thing, thought maybe all good. But will stick to 8.2. Much appreciated!

 

 

Similar Threads

  1. blank page issue after moved host
    By gamenano in forum General Questions
    Replies: 2
    Last Post: 6 Dec 2012, 06:40 PM
  2. The Blank Page Issue Help Wanted
    By grafixguy in forum General Questions
    Replies: 4
    Last Post: 30 Sep 2009, 11:52 AM
  3. Weird issue...causes blank page
    By eggdashure in forum General Questions
    Replies: 3
    Last Post: 20 Apr 2009, 06:39 AM
  4. Blank page issue: I can't debug
    By arrow in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Mar 2008, 09:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR