Error when editing an author's profile

Clean ghost installation
ghost install local
-> windows 10
-> ghost 2.22.0

When I try to modify the profile of an author I find the following error in the red bar at the top:

object null is not iterable (cannot read property Symbol(Symbol.iterator))

Hey @giacomosilli :wave: Would need some more information to be able to help here :slight_smile: What exactly are you trying to modify? Do you also see any error in the logs (can be found in /content/logs)

Hello @gargol,
sorry for the late reply.

I can’t start it anymore:

ghost start

Ghost is already running! For more information, run:

    ghost ls

ghost ls

┌───────────────┬────────────────────────┬─────────┬───────────────────────┬────────────────────────┬──────┬─────────────────┐
│ Name          │ Location               │ Version │ Status                │ URL                    │ Port │ Process Manager │
├───────────────┼────────────────────────┼─────────┼───────────────────────┼────────────────────────┼──────┼─────────────────┤
│ ghost-local   │ C:\xampp2\htdocs\ghost │ 1.23.0  │ stopped               │ n/a                    │ n/a  │ n/a             │
├───────────────┼────────────────────────┼─────────┼───────────────────────┼────────────────────────┼──────┼─────────────────┤
│ ghost-local-1 │ ~\ghost                │ 2.22.0  │ stopped               │ n/a                    │ n/a  │ n/a             │
├───────────────┼────────────────────────┼─────────┼───────────────────────┼────────────────────────┼──────┼─────────────────┤
│ ghost-local-2 │ ~\ghost2               │ 2.22.0  │ running (development) │ http://localhost:2368/ │ 2368 │ local           │

ghost stop

× Stopping Ghost
A CliError occurred.

Message: An unexpected error occurred while stopping Ghost.

Debug Information:
    OS: Microsoft Windows, v10.0.17134
    Node Version: v8.15.0
    Ghost-CLI Version: 1.10.0
    Environment: development
    Command: 'ghost stop'

Additional log info available in: C:\Users\*****\.ghost\logs\ghost-cli-debug-2019-05-14T23_24_43_938Z.log

Try running ghost doctor to check your system for known issues.

You can always refer to https://docs.ghost.org/api/ghost-cli/ for troubleshooting.

ghost restart

× Restarting Ghost
A CliError occurred.

Message: An unexpected error occurred while stopping Ghost.

Debug Information:
    OS: Microsoft Windows, v10.0.17134
    Node Version: v8.15.0
    Ghost-CLI Version: 1.10.0
    Environment: development
    Command: 'ghost restart'

Additional log info available in: C:\Users\****\.ghost\logs\ghost-cli-debug-2019-05-14T23_25_26_534Z.log

Try running ghost doctor to check your system for known issues.

You can always refer to https://docs.ghost.org/api/ghost-cli/ for troubleshooting.

cli_debug_log

Debug Information:
    OS: Microsoft Windows, v10.0.17134
    Node Version: v8.15.0
    Ghost-CLI Version: 1.10.0
    Environment: development
    Command: 'ghost restart'
Message: An unexpected error occurred while stopping Ghost.
Stack: Error: An unexpected error occurred while stopping Ghost.
    at fkill.catch (C:\Users\****\AppData\Roaming\npm\node_modules\ghost-cli\lib\utils\local-process.js:108:39)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)

Original Error Message:
Message: 
    Error: Killing process 9452 failed: Process doesn't exist
        at Array.map (<anonymous>)
        at processExists.all.then.then (C:/Users/*****/AppData/Roaming/npm/node_modules/ghost-cli/node_modules/fkill/index.js:83:10)
        at <anonymous>
Stack: AggregateError: 
    Error: Killing process 9452 failed: Process doesn't exist
        at Array.map (<anonymous>)
        at processExists.all.then.then (C:/Users/*****/AppData/Roaming/npm/node_modules/ghost-cli/node_modules/fkill/index.js:83:10)
        at <anonymous>
    at processExists.all.then.then (C:\Users\*****\AppData\Roaming\npm\node_modules\ghost-cli\node_modules\fkill\index.js:83:10)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)

content/error_log
https://pastebin.com/0svrAR4V

Hi, did you try running ghost doctor as suggested by the prompt?

Yes, I also did ghost doctor, several times, it gave me the same mistake, I forgot to write it.

I tried again this morning and it seems to have started without problems with ghost start. I do not know the reason.

The error:
object null is not iterable (cannot read property Symbol (Symbol.iterator))

It seems to occur when in the author’s profile, I insert in the facebook label: https://www.facebook.com/ instead of https://www.facebook.com/myprofile

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.