質問編集履歴
4
コンソール情報追記
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -119,4 +119,14 @@ 
     | 
|
| 
       119 
119 
     | 
    
         
             
            バージョン追記
         
     | 
| 
       120 
120 
     | 
    
         
             
            Laravel 6.20.6
         
     | 
| 
       121 
121 
     | 
    
         
             
            "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).",
         
     | 
| 
       122 
     | 
    
         
            -
            となっています
         
     | 
| 
      
 122 
     | 
    
         
            +
            となっています
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
            コンソールに出ていたもの
         
     | 
| 
      
 125 
     | 
    
         
            +
            ```ここに言語を入力
         
     | 
| 
      
 126 
     | 
    
         
            +
            Pusher : State changed : connecting -> connected with new socket ID 
         
     | 
| 
      
 127 
     | 
    
         
            +
            pusher.min.js:8 Pusher : Event sent : {"event":"pusher:subscribe","data":{"channel":"my-channel"}}
         
     | 
| 
      
 128 
     | 
    
         
            +
            pusher.min.js:8 Pusher : Event recd : {"event":"pusher_internal:subscription_succeeded","data":{},"channel":"my-channel"}
         
     | 
| 
      
 129 
     | 
    
         
            +
            pusher.min.js:8 Pusher : No callbacks on my-channel for pusher:subscription_succeeded
         
     | 
| 
      
 130 
     | 
    
         
            +
            pusher.min.js:8 Pusher : Event sent : {"event":"pusher:ping","data":{}}
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
            ```
         
     | 
3
バージョンを追記
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -114,4 +114,9 @@ 
     | 
|
| 
       114 
114 
     | 
    
         
             
            #3 /var/www/html/develop/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(64): Illuminate\Broadcasting\Broadcasters\PusherBroadcaster->broadcast(Array, 'my-event', Array)
         
     | 
| 
       115 
115 
     | 
    
         
             
            #4 /var/www/html/develop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Broadcasting\BroadcastEvent->handle(Object(Illuminate\Broadcasting\Broadcasters\PusherBroadcaster))
         
     | 
| 
       116 
116 
     | 
    
         
             
            ```
         
     | 
| 
       117 
     | 
    
         
            -
            まだまだ続くのですが
         
     | 
| 
      
 117 
     | 
    
         
            +
            まだまだ続くのですが
         
     | 
| 
      
 118 
     | 
    
         
            +
             
     | 
| 
      
 119 
     | 
    
         
            +
            バージョン追記
         
     | 
| 
      
 120 
     | 
    
         
            +
            Laravel 6.20.6
         
     | 
| 
      
 121 
     | 
    
         
            +
            "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).",
         
     | 
| 
      
 122 
     | 
    
         
            +
            となっています
         
     | 
2
エラー内容を追記します
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -102,4 +102,16 @@ 
     | 
|
| 
       102 
102 
     | 
    
         
             
            pusherサイト側のログでは
         
     | 
| 
       103 
103 
     | 
    
         
             
            Subscribed Channel: my-channel Socket ID: xxxxxx 13:26:30
         
     | 
| 
       104 
104 
     | 
    
         
             
            Connection Origin: Socket ID: xxxxxx 13:26:30
         
     | 
| 
       105 
     | 
    
         
            -
            のようになっています
         
     | 
| 
      
 105 
     | 
    
         
            +
            のようになっています
         
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
            エラー情報の追記
         
     | 
| 
      
 108 
     | 
    
         
            +
            ```ここに言語を入力
         
     | 
| 
      
 109 
     | 
    
         
            +
            [2021-02-27 22:43:51] develop.ERROR: array_merge(): Argument #2 is not an array {"exception":"[object] (ErrorException(code: 0): array_merge(): Argument #2 is not an array at /var/www/html/develop/vendor/pusher/pusher-php-server/src/Pusher.php:518)
         
     | 
| 
      
 110 
     | 
    
         
            +
            [stacktrace]
         
     | 
| 
      
 111 
     | 
    
         
            +
            #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'array_merge(): ...', '/var/www/html/d...', 518, Array)
         
     | 
| 
      
 112 
     | 
    
         
            +
            #1 /var/www/html/develop/vendor/pusher/pusher-php-server/src/Pusher.php(518): array_merge(Array, NULL)
         
     | 
| 
      
 113 
     | 
    
         
            +
            #2 /var/www/html/develop/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(113): Pusher\Pusher->trigger(Array, 'my-event', Array, NULL, true)
         
     | 
| 
      
 114 
     | 
    
         
            +
            #3 /var/www/html/develop/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(64): Illuminate\Broadcasting\Broadcasters\PusherBroadcaster->broadcast(Array, 'my-event', Array)
         
     | 
| 
      
 115 
     | 
    
         
            +
            #4 /var/www/html/develop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Broadcasting\BroadcastEvent->handle(Object(Illuminate\Broadcasting\Broadcasters\PusherBroadcaster))
         
     | 
| 
      
 116 
     | 
    
         
            +
            ```
         
     | 
| 
      
 117 
     | 
    
         
            +
            まだまだ続くのですが
         
     | 
1
追記
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -97,4 +97,9 @@ 
     | 
|
| 
       97 
97 
     | 
    
         
             
                    return 'my-event';
         
     | 
| 
       98 
98 
     | 
    
         
             
                }
         
     | 
| 
       99 
99 
     | 
    
         
             
            }
         
     | 
| 
       100 
     | 
    
         
            -
            ```
         
     | 
| 
      
 100 
     | 
    
         
            +
            ```
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
            pusherサイト側のログでは
         
     | 
| 
      
 103 
     | 
    
         
            +
            Subscribed Channel: my-channel Socket ID: xxxxxx 13:26:30
         
     | 
| 
      
 104 
     | 
    
         
            +
            Connection Origin: Socket ID: xxxxxx 13:26:30
         
     | 
| 
      
 105 
     | 
    
         
            +
            のようになっています
         
     |