• Resolved shawfactor

    (@shawfactor)


    ArgumentCountError: trim() expects at least 1 argument, 0 given in /******/public_html/wp-content/plugins/activitypub/templates/blog-json.php:41

    running php 8.0

    Can you please fix this?

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

    (@pfefferle)

    Hey @shawfactor this will be fixed soon: GitHub PR

    but can you tell me when you receive this issue? This feature (following a whole blog) is not really functional atm. even without the issue.

    Thread Starter shawfactor

    (@shawfactor)

    Very hard to tell as I am debug logging fall a fatal errors, as my startup is in beta

    here is the stack trace:

    [01-Jan-2023 02:34:02 UTC] PHP Fatal error: Uncaught ArgumentCountError: trim() expects at least 1 argument, 0 given in /***/public_html/wp-content/plugins/activitypub/templates/blog-json.php:41
    Stack trace:

    0 /***/public_html/wp-content/plugins/activitypub/templates/blog-json.php(41): trim()

    1 /****/public_html/wp-includes/template-loader.php(106): include(‘/home/melbour9/…’)

    2 /****/public_html/wp-blog-header.php(19): require_once(‘/home/melbour9/…’)

    3 /****/public_html/index.php(17): require(‘/home/melbour9/…’)

    4 {main}

    thrown in /****/public_html/wp-content/plugins/activitypub/templates/blog-json.php on line 41

    Glad to hear it will be fixed

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    should be fixed in latest version!

    Thread Starter shawfactor

    (@shawfactor)

    Seems to be, I’ve not seen the error in my logs, many thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error in blog-json.php’ is closed to new replies.