Learn about Centmin Mod LEMP Stack 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

    854
    173
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +317
    Local Time:
    11:49 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

    68
    13
    8
    Sep 16, 2017
    Ratings:
    +16
    Local Time:
    8:19 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,659
    362
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +901
    Local Time:
    9:49 PM
    1.17.x
    MariaDB 10.3.x
    • Winner Winner x 1
    • Informative Informative x 1
  4. EckyBrazzz

    EckyBrazzz Active Member

    854
    173
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +317
    Local Time:
    11:49 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
    • Like Like x 1