Jump to content

Search the Community

Showing results for tags 'undefined'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Developer Feedback
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 1 result

  1. I have been given the task of migrating a current live osCommerce website, version 2.3.4 from a server running PHP 5.3.3 to a server running PHP 7.0.33. I understand that I should really upgrade to the latest (Frozen) version of osCommerce but this live site has many custom coded features and addons that will need to be re-written to be added to the latest version and I only have a short time before the old server is switched off. I have a test environment set up on the new server and I've moved copies of the existing database and files to create the error testing site. I have managed to correct many issues by renaming the class function name to '__construct'. My admin side seems to be working fine, however on the store front I'm getting this error whenever a product is added to the cart or any message is to be displayed : Fatal error: Uncaught Error: Call to undefined method messageStack::alertBlock() in /home/xxxxx/public_html/xxxxx/includes/classes/message_stack.php:66 Stack trace: #0 /home/xxxx/public_html/xxxx/includes/modules/product_listing.php(4): messageStack->output('product_action') #1 /home/xxxx/public_html/xxxxx/index.php(227): include('/home/xxxx...') #2 {main} thrown in /home/xxxx/public_html/xxxx/includes/classes/message_stack.php on line 66 The line in question is: return $this->alertBlock($output); Does anyone have any ideas how I can fix this? I would appreciate any suggestions on how to sort this out. Many thanks.
×