• Resolved helmutvogt62

    (@helmutvogt62)


    The update to 5.9.9 causes bad error:
    “the plugin cannot be activated because it generates a fatal error”

    What i have to do?

    • This topic was modified 1 month, 1 week ago by helmutvogt62.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @helmutvogt62,

    I am so sorry to hear that – can you check your PHP Error Logs?

    PHP Parse error: syntax error, unexpected ‘)’, expecting variable (T_VARIABLE) in /home/www/***/wp-content/plugins/media-file-renamer/classes/rest.php on line 552

    Thread Starter helmutvogt62

    (@helmutvogt62)

    I’m only a “user”, not a “programmer”

    @tigroumeow Where can I find them? Can you do something with the answer from ‘awunder’

    @awunder What should I do? Or is this supposed to be a hint for ‘tigroumeow’?

    Plugin Support Val Meow

    (@valwa)

    This issue is likely happening because you are using an older version of PHP. Please note that version 7 has reached the end of its life almost 2 years ago. Please consider upgrading to a supported version. You can?learn more here.?Hope this helps!?

    We will make the necessary adjustments to ensure that it works on older versions as well. Thanks for your patience and understanding. ??

    function get_media_status(
    ? ? ? ? $skip = 0,
    ? ? ? ? $limit = 10,
    ? ? ? ? $filterBy = ‘pending’,
    ? ? ? ? $orderBy = ‘post_title’,
    ? ? ? ? $order = ‘asc’,
    ? ? ? ? $search = null,
    ? ? ? ? $hide_locked = true, <= the “,” must be removed
    ? ? ? ? ) {….

    Here we get this error:

    PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /public_html/wp-content/plugins/media-file-renamer/classes/rest.php on line 552

    That’s it @pixelsing
    Solved here!

    But now plugin developers need to fix this bug as well, please @tigroumeow !

    Thanx!

    • This reply was modified 1 month, 1 week ago by Marcelo Martins. Reason: Mentioning the plugin developer in the comment
    Thread Starter helmutvogt62

    (@helmutvogt62)

    Problem solved after switching to php 8.2, could also be activated, thanks for the hint.
    Previously, however, php 7.4 was active, which would have been permitted as the minimum version on the details page

    Indeed, if it states that it supports PHP 7.4 or higher, then it should actually support it. Currently, it doesn’t any longer, since 5.9.9.

    Plugin Author Jordy Meow

    (@tigroumeow)

    We released a new 6.0.0 version, which fixes this too ?? Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.