baibaratsky / yii-rollbar Goto Github PK
View Code? Open in Web Editor NEWRollbar for Yii 1.*
License: Other
Rollbar for Yii 1.*
License: Other
This works fine for PHP 8.2 but only return one below error.
Return type of Rollbar\Payload\Notifier::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Code in config/main.php :
// Integrate Rollbar Component
'rollbar' => array(
'class' => 'application.vendors.rollbar-php.baibaratsky.yii-rollbar.RollbarComponent', // adjust path if needed
'access_token' => $GLOBALS['ROLLBAR_POST_SERVER_ITEM'],
'environment' => isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'cli_'.php_uname("n"),
'send_message_trace' => true,
'include_exception_code_context' => true,
'include_error_code_context' => true,
'included_errno' => E_ALL,
'person_fn' => 'get_current_user';
),
Now where should I put get_current_user() function? Please help me.
Hello,
I've noticed that in the Rollbar library the Level::fromName method doesn't exist anymore, and this causes issues with your library.
I've asked them about their plans: rollbar/rollbar-php#244, maybe you should revert my last PR meanwhile, as it's partially broken :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.