laravel-debugbar icon indicating copy to clipboard operation
laravel-debugbar copied to clipboard

Issue with AbstractAdapter.php line 63

Open LocalHeroPro opened this issue 3 years ago • 2 comments
trafficstars

Run

$ php8.1 cachetool.phar opcache:compile:scripts /paht/to/laravel

In AbstractAdapter.php line 63:
                                                                                                                                     
  Return type of DebugBar\DataCollector\PDO\TraceablePDOStatement::bindColumn($column, &$param, $type = null, $maxlen = null, $driv  
  erdata = null) should either be compatible with PDOStatement::bindColumn(string|int $column, mixed &$var, int $type = PDO::PARAM_  
  STR, int $maxLength = 0, mixed $driverOptions = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporar  
  ily suppress the notice (error code: 8192)                                                                                         
  Return type of DebugBar\DataCollector\PDO\TraceablePDOStatement::bindParam($parameter, &$variable, $data_type = PDO::PARAM_STR, $  
  length = null, $driver_options = null) should either be compatible with PDOStatement::bindParam(string|int $param, mixed &$var, i  
  nt $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null): bool, or the #[\ReturnTypeWillChange] attribute shou  
  ld be used to temporarily suppress the notice (error code: 8192)                                                                   
  Return type of DebugBar\DataCollector\PDO\TraceablePDOStatement::bindValue($parameter, $value, $data_type = PDO::PARAM_STR) shoul  
  d either be compatible with PDOStatement::bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool, or the #[  
  \ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (error code: 8192)                              
  Return type of DebugBar\DataCollector\PDO\TraceablePDOStatement::execute($input_parameters = null) should either be compatible wi  
  th PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily su  
  ppress the notice (error code: 8192)                                                                                               
                                                                                                                                     

opcache:compile:scripts [--exclude [EXCLUDE]] [--batch] [--] <path>

Cachetool: https://github.com/gordalina/cachetool

LocalHeroPro avatar Sep 04 '22 08:09 LocalHeroPro

I seem to be having the same issue too. Updated to the latest version and getting that error.

SamuelTroyer677 avatar Sep 23 '22 15:09 SamuelTroyer677

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.

stale[bot] avatar Jun 18 '23 15:06 stale[bot]