Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    92
    Plugin Contributions
    0

    Default PHP Deprecated: Function strftime() is deprecated mixed text and date time ?

    PHP 8.1

    $current_method_title = shipping %a (%d %b from %H:%M) // this is from settings in my admin.


    PHP Code:
    // Add any information specified about a shipping date/time
     
    if (!is_null($method_instance['timestamp'])) {
    $current_method_title strftime($current_method_title,
     
    $method_instance['timestamp']);
    } else{ 
    something


    with the above I'm getting PHP Deprecated: Function strftime() is deprecated and I can only ether fix it to display only the text element or fix the date time element but then don't get text and date time how do I fix this please?
    Last edited by OJ_SIMON; 16 Feb 2024 at 02:38 PM.

 

 

Similar Threads

  1. Shipstation Function strftime() is deprecated in 1.58
    By gtgeorge in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 15 Feb 2024, 04:35 AM
  2. v137 Deprecated: Function ereg() is deprecated Error
    By esugrue in forum General Questions
    Replies: 6
    Last Post: 28 Mar 2012, 11:40 PM
  3. Deprecated: Function ereg() is deprecated
    By hsartcorp in forum General Questions
    Replies: 3
    Last Post: 19 Sep 2011, 08:08 PM
  4. Replies: 2
    Last Post: 3 Mar 2010, 12:53 PM
  5. Replies: 4
    Last Post: 16 Jan 2010, 02:11 AM

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