• Resolved lessonplanmom

    (@lessonplanmom)


    When I am logged into my wp-admin (as the main admin of the site), I am able to access and use the web stories dashboard.

    If I log in as any other user, I’m taken to a page with an error code.

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

    I even tried this with a test log-in that admin access. The same issue happened. I’ve tried uninstalling other plugins, and everything is updated.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello @lessonplanmom thanks for getting in touch. So this affects any other user on your site including other admin accounts? To help you with this could you please share the following:

    1. Your?Site Health Information?which you can share using this?private form.
    2. Do you use any user roles plugins?
    3. Could you share the exact error message or share a screenshot of what you see?

    Once you share the information I can help with next steps to take to troubleshoot this issue.

    Thread Starter lessonplanmom

    (@lessonplanmom)

    Thank you Adam.

    1. I submitted my site health through the form.

    2. I use Molongui Authorship but nothing for user roles.

    3.

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

    Learn more about troubleshooting WordPress.



    @lessonplanmom Thank you for sharing the information that’s very helpful. This could be due to a plugin conflict so let’s first start by ruling this out. To do so could you follow the troubleshooting steps here to see if you get the same outcome while in troubleshooting mode. let me know how you get on with this.

    Thread Starter lessonplanmom

    (@lessonplanmom)

    Thanks Adam.

    After going through the troubleshooting process it looks like the conflicting plug in is Molongui Authorship. There were no other issues.

    What are your thoughts about keeping both, is it possible?
    Jill

    @lessonplanmom As this is a conflict on the Molongui Authorship side I would suggest reaching out to their support team to see if this is something they can address. I will flag this to our team also to see if there is anything we can do better on our side to stop this from happening.

    Thread Starter lessonplanmom

    (@lessonplanmom)

    Thanks so much!

    @lessonplanmom If possible, would you be able to get the exact error logs for this from your hosting provider? This would help us to look into this further to see if there’s anything we can do on our side to help prevent this.

    Thread Starter lessonplanmom

    (@lessonplanmom)

    I apologize for the delay. This is the response I received.

    Below is the error log coming from web-stories from 17th January till 20th January.
    
    I have provided the code from one file however the error is exactly same every day from 17th till 20th.
    
    [17-Jan-2023 07:50:02 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 07:51:54 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 07:51:55 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 07:55:21 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 08:02:33 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 08:02:41 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 08:03:44 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 08:06:58 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 08:07:14 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 08:07:33 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 09:27:07 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 09:29:58 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 09:30:42 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    [17-Jan-2023 09:30:43 UTC] PHP Fatal error: Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262
    Thread Starter lessonplanmom

    (@lessonplanmom)

    the previous logs are okay but just repeated same line on different times.

    The proper log to forward to them would be the below one:

    [17-Jan-2023 08:07:14 UTC] PHP Fatal error:  Uncaught TypeError: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:262
    Stack trace:
    #0 /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php(220): Google\Web_Stories\REST_API\Stories_Users_Controller->user_posts_count_public()
    #1 /home/nginx/domains/confidencemeetsparenting.com/public/wp-includes/rest-api/class-wp-rest-server.php(1138): Google\Web_Stories\REST_API\Stories_Users_Controller->get_item_permissions_check()
    #2 /home/nginx/domains/confidencemeetsparenting.com/public/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request()
    #3 /home/nginx/domains/confidencemeetsparenting.com/public/wp-includes/rest-api/class-wp-rest-server.php(728): WP_REST_Server->dispatch()
    #4 /home in /home/nginx/domains/confidencemeetsparenting.com/public/wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262

    @lessonplanmom Thank you for sharing the logs. This is a known issue and one that will be fixed with the next release.

    Plugin Support Luckyna San

    (@luckynasan)

    Hi @lessonplanmom ! Web Stories has recently released version 1.29.0. Could you please update the plugin and confirm the issue has been resolved on your end as well? Thanks!

    Thread Starter lessonplanmom

    (@lessonplanmom)

    It fixed the issue! Thanks for letting me know

    Plugin Support Luckyna San

    (@luckynasan)

    Great to hear!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Only main admin account can access web stories dashboard.’ is closed to new replies.