Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    829
    Plugin Contributions
    0

    Default Image Popup Error Message

    Modules Installed
    Zencart Version 1.5.8a / Simple Popup
    Bootstrap Template Version 3.7.4 / Square_Webpay
    TY Tracker Version 1.0.1 / PayPal
    Sitemap Version 3.9.9 / Changed Files Report
    CEON Mappings Version 2.2.0 / Product Review Reminder
    Quick Update Version 2.10 / Numinix Product Fields 3.1.3
    Australia Post Shipping Module V2.5.7a / Order Comment Boilmaker
    Easy Populate Version 7.039ZC / Email Archive Manager Version 3.0
    Handling Fee Version 1.2.0

    Error Log message

    [10-Aug-2025 15:27:03 Australia/Sydney] Request URI: /index.php?main_page=popup_image_additional&pID=48369, IP address: 49.184.131.140, Language id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/modules/pages/popup_image_additional/header_php.php(39): stripslashes()
    #2 /index.php(35): require('/home/a1ntxxxx')
    --> PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /includes/modules/pages/popup_image_additional/header_php.php on line 39.

    Php File Lines from 37 to 41 from file below

    $products_image_large = $products_image_base . IMAGE_SUFFIX_LARGE . $products_image_extension;

    $_GET['products_image_large_additional'] = str_replace(' ', '+', stripslashes($_GET['products_image_large_additional']));

    $basepath = "";


    Any assistance is appreciated as I am unable to see what the message means in the log
    Last edited by Bruce1952; 10 Aug 2025 at 07:07 AM.
    Outdoorking
    Live Site www.outdoorking.com.au

  2. #2
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    279
    Plugin Contributions
    4

    Default Re: Image Popup Error Message

    Quote Originally Posted by Bruce1952 View Post
    Modules Installed
    Zencart Version 1.5.8a / Simple Popup

    ...

    Php File Lines from 37 to 41 from file below

    $products_image_large = $products_image_base . IMAGE_SUFFIX_LARGE . $products_image_extension;

    $_GET['products_image_large_additional'] = str_replace(' ', '+', stripslashes($_GET['products_image_large_additional']));

    $basepath = "";


    Any assistance is appreciated as I am unable to see what the message means in the log
    stripslashes became deprecated in php 8.1 so its use is causing the issue.

    You make use of a plugin called 'Simple Popup' which has not been updated since zen cart 1.3.9. I haven't checked it but my guess is this plugin is the culprit.

  3. #3
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    279
    Plugin Contributions
    4

    Default Re: Image Popup Error Message

    BTW I should have mentioned I know your on php 8.1 as you mentioned it in another thread.
    Going to an earlier version of php might make this go away, however this is obviously not recommended - either find a way to upgrade - or see if there's another plugin that meets your needs.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Image Popup Error Message

    Quote Originally Posted by royaldave View Post
    stripslashes became deprecated in php 8.1 so its use is causing the issue.

    You make use of a plugin called 'Simple Popup' which has not been updated since zen cart 1.3.9. I haven't checked it but my guess is this plugin is the culprit.
    FWIW, I'm not seeing such a deprecation notice on stripslashes in the PHP documentation: https://www.php.net/manual/en/function.stripslashes.php

    What I am seeing is a change to /includes/modules/pages/popup_image_additional/header_php.php:
    Code:
      $_GET['products_image_large_additional'] = str_replace(' ', '+', stripslashes($_REQUEST['products_image_large_additional'] ?? ''));

  5. #5
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    829
    Plugin Contributions
    0

    Default Re: Image Popup Error Message

    Quote Originally Posted by lat9 View Post
    FWIW, I'm not seeing such a deprecation notice on stripslashes in the PHP documentation: https://www.php.net/manual/en/function.stripslashes.php

    What I am seeing is a change to /includes/modules/pages/popup_image_additional/header_php.php:
    Code:
      $_GET['products_image_large_additional'] = str_replace(' ', '+', stripslashes($_REQUEST['products_image_large_additional'] ?? ''));
    Thank you Lat9

    I have made the change and will see how it goes.

    You assistance is greatly appreciated.
    Outdoorking
    Live Site www.outdoorking.com.au

 

 

Similar Threads

  1. Replies: 9
    Last Post: 21 Dec 2012, 11:18 PM
  2. Authorize.net error message with no error message?
    By swamyg1 in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 19 Nov 2010, 12:32 AM
  3. No Error Message Upon Image Upload
    By ConnieM in forum Managing Customers and Orders
    Replies: 0
    Last Post: 1 Feb 2010, 04:14 PM
  4. Larer image popup is medium image not large image
    By xtracool in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Mar 2009, 10:21 AM
  5. Strange Image Error Message!
    By kimberlyeddy in forum Basic Configuration
    Replies: 15
    Last Post: 17 Aug 2007, 02:05 AM

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