PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, March 17, 2022

[FIXED] Expression Engine module DevDemon – Updater displaying php errors on local when run by MAMP

 March 17, 2022     expressionengine, mamp, mamp-pro, php     No comments   

Issue

In my local environment I have tried to install the Expression Engine module Updater by DevDemon. Both the master MAMP php.ini file and the local php.ini file have the following settings:

error_reporting = E_ALL & ~E_STRICT & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING display_errors = Off

However these errors are still displaying:

A PHP Error was encountered

Severity: 8192

Message: Non-static method Updater_helper::arrayExtend() should not be called statically, assuming $this from incompatible context

Filename: updater/api.updater.php

Line Number: 109
A PHP Error was encountered

Severity: 8192

Message: Non-static method Updater_helper::getThirdPartyPath() should not be called statically, assuming $this from incompatible context

Filename: updater/api.updater.php

Line Number: 132
A PHP Error was encountered

Severity: 8192

Message: Non-static method Updater_helper::getThemePath() should not be called statically, assuming $this from incompatible context

Filename: updater/api.updater.php

Line Number: 133
A PHP Error was encountered

Severity: 8192

Message: Non-static method Updater_helper::getThirdPartyThemePath() should not be called statically, assuming $this from incompatible context

Filename: updater/api.updater.php

Line Number: 134
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Users/Michael/Sites/creativevisuals/system/codeigniter/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 412

Why are these errors still displaying? I have tried restarting the MAMP server every time I have edited the php.ini files and phpinfo() reflects the fact that these settings are active.

When I run phpinfo() after Line 109 in api.updater.php the settings change however. Somehow this script is overriding the php settings. Why and where is it doing so?


Solution

I'm assuming you're using PHP 5.6 which causes these errors. Most developers don't support it yet, if you want to get rid of the errors add a "static" in front of the function names.



Answered By - BrandonOHara
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing