• Hello ?? I have a problem on my website. Everything was OK while using PHP 5.6 version on my webhosting. I changed to PHP 7.3 and there a lot of PHP warning errors like Warning: Decalaration of AtomWalkerTerms::start_lvl.
    I want new PHP because even wordpress show warning on the dashboard.

    I proceeded as follows

    Declaration of AtomWalkerTerms::start_lvl(&$output, $depth, $args)
    should be compatible with
    Walker_Category::start_lvl(&$output, $depth = 0, $args = Array) in /mydomain/wp-content/themes/mystique/atom-core.php on line 261

    so I searched for line 261 where is AtomWalkerTerms and found this:
    function start_lvl(&$output, $depth, $args){
    and changed to this:
    function start_lvl(&$output, $depth = 0, $args = Array)

    I fixed all of them but then will show Parse error
    Parse error: syntax error, unexpected ')', expecting '(' in

    even If I remove the whole line, then another lines keeps appearing
    I

    I also tried turn on debugging and it shows warnings for two plugins plugins Crafty social buttons and ChimpMate: Deprecated: Function create_function()

    Can somebody help me? Thanks in advance

    Screenshots: https://imgur.com/a/rtoNC86

    I found on StackEchange user JHoffmann wrote:
    This issue existed before PHP7 but in earlier versions, the warnings emitted had an error level of E_STRICT. Since PHP 7 they are normal warnings, hence they are shown with default error level setting

    • This topic was modified 5 years, 2 months ago by patwist.
    • This topic was modified 5 years, 2 months ago by patwist.
    • This topic was modified 5 years, 2 months ago by patwist.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error when switched to PHP 7.3’ is closed to new replies.