Skip to content

PHP Deprecation error with Pro Search Results tag on php 8.2 #4072

@CreativePoweredGeek

Description

@CreativePoweredGeek

Description of the problem
On EE 7.4.1 ... I get this error on Pro Search where the prosearch results tag is present. php 8.2.15

DEPRECATED
CREATION OF DYNAMIC PROPERTY PRO_SEARCH_EN_STEMMER::$PRO_SEARCH_STEM_METHOD IS DEPRECATED
ee/ExpressionEngine/Addons/pro_search/libraries/Pro_search_words.php, line 176
Severity: E_DEPRECATED

If I switch to PHP 8.1 it goes away

How To Reproduce
Steps to reproduce the behavior:
Add {exp:pro_search:results} tag to a page under PHP 8.2

Environment Details:

  • Version: 7.4.1
  • PHP Version 8.2.15
  • MySQL Version latest
  • OS: Linux
  • Web Server: Apache

Possible Solution
Reduce PHP version to 8.1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions