Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2011
    Posts
    84
    Plugin Contributions
    0

    Default Error log - viewing Invoice from Admin

    ZC 2.1 - upgraded from 1.57
    php 8.3

    getting this error when viewing invoice from Admin side.

    --> PHP Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in
    AdminDir/includes/functions/html_output.php on line 150.

    Thanks!

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,306
    Plugin Contributions
    125

    Default Re: Error log - viewing Invoice from Admin

    Looks like this is fixed in Github. You could pull the new copy of this file and update this function, or just change the offending line to

    if ($height !== '' && !str_contains($params ? '', 'height:')) {
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v138a 500 Error When Viewing Admin and Cart Page
    By aweise in forum Installing on a Windows Server
    Replies: 3
    Last Post: 24 May 2012, 07:09 AM
  2. Looking to add print invoice and shipp invoice from admin---> orders
    By r4fdud in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 15 Mar 2009, 11:21 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