Join the community today
Register Now

Sysadmin Php warnings on nice billing programm.

Discussion in 'System Administration' started by EckyBrazzz, Aug 17, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    915
    189
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +362
    Local Time:
    6:20 AM
    Latest
    Latest
    Hi,

    We started to use InvoicePlane - An Open Source Invoicing Application, real nice to get all our invoices but I get some PHP errors. The programm works, but these warnings I don't know what to do about them. How to fix these warnings.

    Code (Text):
    A PHP Error was encountered
    
    Severity: 8192
    
    Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
    
    Filename: MX/Router.php
    
    Line Number: 224
    
    Backtrace:
    
    File: /home/nginx/domains/domain.com/public/application/third_party/MX/Router.php
    Line: 224
    Function: strpos
    
    File: /home/nginx/domains/domain.com/public/application/third_party/MX/Router.php
    Line: 71
    Function: set_class
    
    File: /home/nginx/domains/domain.com/public/index.php
    Line: 325
    Function: require_once
    


     
  2. Dnyan

    Dnyan Member

    106
    24
    18
    Sep 16, 2017
    Ratings:
    +36
    Local Time:
    2:50 PM
    1.17.8
    10.3.22
    It might be not compatible with higher version of PHP.

    try with lower version of php or ask dev to update code to work with latest version of php.
     
  3. Jimmy

    Jimmy Well-Known Member

    1,762
    381
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +968
    Local Time:
    5:20 AM
    1.17.x
    MariaDB 10.3.x
  4. EckyBrazzz

    EckyBrazzz Active Member

    915
    189
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +362
    Local Time:
    6:20 AM
    Latest
    Latest
    Yup,

    PHP 7.2 upgrade resolved it

    Thanks @Jimmy
    Now I know where that spinning wheel was found in our maintenance page.
     
    Last edited: Aug 17, 2019