• The installation of the plugin AnWP Football Leagues works fine. As soon as I try to activate the plugin the site crashes with the following on the page.

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Below is the extract from the wp error log. An feedback would be appreciated.

    2023/12/09 15:46:35 [error] 1634956#1634956: *217 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mb_strpos() in /var/www/html/collegiansfc.org/public_html/wp-content/plugins/football-leagues-by-anwppro/class-anwp-football-leagues.php:1852
    Stack trace: 0 /var/www/html/collegiansfc.org/public_html/wp-includes/class-wp-hook.php(324): AnWP_Football_Leagues->admin_enqueue_scripts() 1 /var/www/html/collegiansfc.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 2 /var/www/html/collegiansfc.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /var/www/html/collegiansfc.org/public_html/wp-admin/admin-header.php(118): do_action() 4 /var/www/html/collegiansfc.org/public_html/wp-admin/plugins.php(621): require_once(‘…’) 5 {main}

    thrown in /var/www/html/collegiansfc.org/public_html/wp-content/plugins/football-leagues-by-anwppro/class-anwp-football-leagues.php on line 1852″ while reading response header from upstream, client: 81.172.220.38, server: collegiansfc.org, request: “GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php8.1-fpm.sock:”, host: “collegiansfc.org”, referrer: “https://collegiansfc.org/wp-admin/plugin-install.php?s=football%2520leagues&tab=search&type=term”

    Thanks

    Lawrence

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author anwppro

    (@anwppro)

    Hello @lslamp

    • Check “Tools” >> “Site Health” to see if everything is correct with your WordPress installation and server.
    • Ask your hoster for help. It is a default PHP function, but your hoster has the possibility to disable it.
    Thread Starter lslamp

    (@lslamp)

    @anwppro

    What php function are you referring to?

    Lawrence

    Plugin Author anwppro

    (@anwppro)

    mb_strpos()

    Thread Starter lslamp

    (@lslamp)

    Ok, took a little googling. It is not a standard module. In fact there is no module mb_strpos. It is within the php8.0-mbstring module that it is managed. So I had to add the module for it to work.

    The plugin is now loading

    Lawrence

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress Site Crashed with Critical Error’ is closed to new replies.