• Resolved dingdang

    (@dingdang)


    If this is on purpose – that’s the worst decision one could take and the implementation (updates w/o any check of the environment) is [censored].

    If this is a beginner programmer mess and he thinks there is just PHP8 out there, you better fire him.
    And fix that ASAP.

    Besides the other reported code snippets, here is one more error (when accessing the admin panel):
    PHP Fatal error: Uncaught Error: Call to undefined function str_contains()

    str_contains() is introduced in PHP8!!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Curtis

    (@curtisbrownlee)

    Hello,

    I’m sorry to hear that you are experiencing this.

    My site is currently using PHP 7.4.26, but I could not reproduce a fatal error when using Ninja Forms version 3.6.13.

    May we have additional information on how to reproduce the error? What version of PHP is being used by the affected site? Does the issue persist when other add-ons are temporarily disabled and when momentarily using a default WordPress theme, such as Twenty Twenty?

    Thread Starter dingdang

    (@dingdang)

    Can you open the admin page of the plugin?

    Why don’t you check the code and see where you have now str_contains() call, that would be a lot easier?

    includes/Admin/SlimPromo.php

    public function isNFAdminPage():
    if (
    ! str_contains( $_REQUEST[ ‘page’ ], ‘nf’ ) &&
    ! str_contains( $_REQUEST[ ‘page’ ], ‘ninja-forms’ )
    ) {

    Thread Starter dingdang

    (@dingdang)

    @curtisbrownlee have you read the above?
    Just FYI:
    – because of the bug in this report, you are crashing 91.6% of the sites updated (non PHP8)
    – because of the other one (trailing comma), you are crashing 22.3% (below PHP7.3)

    And you still keep that version (3.6.13) alive and latest – to surprise more people updating right now. If you calculate an estimate of the total amount of manhours spent by admins around the world because of this, you should get ashamed ??

    Plugin Support Curtis

    (@curtisbrownlee)

    Hello @dingdang ,

    I have posted a message to the development team and they are currently taking a look at this. I will provide an update as soon as my team has received a response.

    Thank you for bearing with us and we apologize for the frustration.

    Plugin Support Curtis

    (@curtisbrownlee)

    Hello,

    We sincerely apologize for the issue. Our engineering team has just released an update to address this. If you would, can you install Ninja Forms version 3.6.14 and let us know if this works for you?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Version 3.6.13 supports only PHP8’ is closed to new replies.