• Resolved dmcknight

    (@dmcknight)


    Recently my plugins.php page has had a fatal error when it reaches the update description for this plugin. The page stops rendering information for all the subsequent plugins. I have to deactivate this plugin then update it and reactivate it for things to return to normal. I suspect there is a syntax error or incompatibility issue with WP 5.8.5 in the code you are using for the update description/info. Otherwise the plugin works fine.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Tonmoy

    (@azimkhan123)

    Hello @dmcknight ,
    Thank you for reaching us. Can you provide me with some screenshots of this problem? Unfortunately, I couldn’t find this error in our local environment.

    Thread Starter dmcknight

    (@dmcknight)

    Sure, it’s happening right now on one of our sites.

    Video 1 shows how the plugins page abruptly stops rendering on the update message for postx. I also receive a “critical error” email from my hosting provider when I view the plugins page like this.
    [video src="https://demo.fosforus.com/postx/screencast-postx-1.webm" /]

    Video 2 shows how the plugins page renders completely (with subesequent plugins showing) when the postx plugin is deactivated.
    [video src="https://demo.fosforus.com/postx/screencast-postx-2.webm" /]

    Video 3 shows how I fix it, by updating the postx plugin while it is deactivated. After it is updated, I can reactivate it and everything is fine until the next update. It has been happening this way for the last few updates.
    [video src="https://demo.fosforus.com/postx/screencast-postx-3.webm" /]

    Tonmoy

    (@azimkhan123)

    Hello @dmcknight ,
    Thank you for the detailed feedback. We will have a look at this issue and fix this issue as soon as possible.

    Have a nice day!

    Tonmoy

    (@azimkhan123)

    Hello @dmcknight ,
    We just released an update and this issue was fixed. So please update your plugin and have a look ??

    Thread Starter dmcknight

    (@dmcknight)

    I’m seeing the same issue again. I will look for info in my server logs.

    Thread Starter dmcknight

    (@dmcknight)

    I hope this helps:

    PHP Fatal error: Uncaught Error: Call to undefined function ULTP\\str_contains() in /nas/content/live/ahanaio/wp-content/plugins/ultimate-post/classes/Initialization.php:709\nStack trace:\n#0 /nas/content/live/ahanaio/wp-includes/class-wp-hook.php(305): ULTP\\ULTP_Initialization->in_plugin_settings_update_message(Array)\n#1 /nas/content/live/ahanaio/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)\n#2 /nas/content/live/ahanaio/wp-includes/plugin.php(470): WP_Hook->do_action(Array)\n#3 /nas/content/live/ahanaio/wp-admin/includes/update.php(587): do_action(‘in_plugin_updat…’, Array, Object(stdClass))\n#4 /nas/content/live/ahanaio/wp-includes/class-wp-hook.php(305): wp_plugin_update_row(‘ultimate-post/u…’, Array)\n#5 /nas/content/live/ahanaio/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)\n#6 /nas/content/live/ahanaio/wp-includes/plugin.php(470): WP_Hook->do_action(Array)\n#7 /nas/content/live/ahanaio/wp-admin/includes/class-wp-plugins-list-table.php(1224): do_action(‘after_plugin_ro…’, ‘ul in /nas/content/live/ahanaio/wp-content/plugins/ultimate-post/classes/Initialization.php on line 709

    • This reply was modified 2 years ago by dmcknight.
    Tonmoy

    (@azimkhan123)

    Hello @dmcknight ,
    Thanks that worked to find out about the issue. Actually, it is caused because your PHP version being lower. It will be fixed in the next update.

    If you need an immediate fix then you can ask your hosting company to update your PHP version to solve this issue. Or you can wait for our next update ??

    Have a nice day!

    Thread Starter dmcknight

    (@dmcknight)

    Awesome Thanks!

    Tonmoy

    (@azimkhan123)

    Hello @dmcknight ,
    Did you update to our latest version? This problem should have been fixed by now.

    Let me know about your situation.

    Thread Starter dmcknight

    (@dmcknight)

    @tonmoy, the v2.7.8 update message still had the same issue.

    Tonmoy

    (@azimkhan123)

    Hello @dmcknight ,
    If the issue still persists, Can you please create a ticket here: ticket. Our technical team will help you to fix the issue.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Plugin update description breaks plugins page’ is closed to new replies.