Skip to content

PHP 7.3 Strict Standards  #2146

@MikeyGMT

Description

@MikeyGMT

PHP 5.6 in Admin > file_inspector then you find entries in error_log file in the admin folder.

PHP Strict Standards: Declaration of e_tree_model::load() should be compatible with e_front_model::load($id = NULL, $force = false) in e107_handlers/model_class.php on line 3449

class e_front_model extends e_model

2509

/**
     * Generic load data from DB
     * @param boolean $force
     * @return e_front_model
     */
	public function load($id=null, **$force = false**)
	{

class e_tree_model extends e_front_model

3194

/**
	 * Default load method
	 *
	 * @return e_tree_model
	 */
	public function load(**$force = false**)

Adding the ID Parameter seems to eliminate the error_log message, not sure what impact it could have.

Secondly bit more involved... not sure what to do with this one.

PHP Strict Standards:  Declaration of e_front_tree_model::update() should be compatible with e_tree_model::update($from_post = true, $force = false, $session_messages = false) in e107_handlers/model_class.php on line 3583
class e_front_tree_model extends e_tree_model

public function update($field, $value, $ids, $syncvalue = null, $sanitize = true, **$session_messages = false**)
class e_front_model extends e_model

public function update($from_post = true, $force = false, **$session_messages = false**)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA problem that should not be happeningtype: enhancementAn improvement or new feature request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions