Want more timely Centmin Mod News Updates?
Become a Member

Sysadmin Php warnings on nice billing programm.

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

  1. EckyBrazzz

    EckyBrazzz Active Member

    884
    186
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +342
    Local Time:
    6:17 PM
    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

    97
    20
    8
    Sep 16, 2017
    Ratings:
    +28
    Local Time:
    2:47 AM
    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,724
    367
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +932
    Local Time:
    4:17 PM
    1.17.x
    MariaDB 10.3.x
  4. EckyBrazzz

    EckyBrazzz Active Member

    884
    186
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +342
    Local Time:
    6:17 PM
    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