• Resolved Peter Smits

    (@psmits1567)


    Hi With recent version I get a lot of errors like this
    [31-Jan-2024 09:35:49 UTC] PHP Deprecated: Optional parameter $userId declared before required parameter $envId is implicitly treated as a required parameter in /httpdocs/wp-content/plugins/ai-engine/classes/modules/files.php on line 345

    • This topic was modified 9 months, 3 weeks ago by Peter Smits.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Val Meow

    (@valwa)

    Hi @psmits1567! ??

    These are not errors; they shouldn’t affect your use of the plugin. However, I understand the desire to eliminate them as they clutter your logs. Could you please ensure that you are using a supported version of PHP, at least 8.1? You can find more information in the official documentation here: PHP: Supported Versions

    Thread Starter Peter Smits

    (@psmits1567)

    Hi,

    I am running on all latest versions of WordPress and PHP

    I have same errors.
    Php 8.1
    WordPress : latest
    Woocommerce : latest
    Ai engine : latest

    •  Feb 03, 08:21:06Deprecated: Optional parameter $purpose declared before required parameter $envId is implicitly treated as a required parameter in /srv/htdocs/wp-content/plugins/ai-engine/classes/modules/files.php on line 345
    •  Feb 03, 08:21:06Deprecated: Optional parameter $userId declared before required parameter $envId is implicitly treated as a required parameter in /srv/htdocs/wp-content/plugins/ai-engine/classes/modules/files.php on line 345
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated:optional parameter $userId’ is closed to new replies.