Comments (9)
Not sure what else we need to do regarding actually publishing this for use?
from bugsnag-wordpress.
Yeh, we just need to download the newest v2 from the PHP library.
from bugsnag-wordpress.
Wait, but actually, I already fixed this? b704bdb
from bugsnag-wordpress.
Guess we just need to release 1.3.0?
from bugsnag-wordpress.
from bugsnag-wordpress.
I will give it a go using the dev-master
to see if it works (I originally reported the issue a few days back) and let you know.
Update: I'm trying to reproduce the issue, but its not happening at the moment. Will keep trying.
from bugsnag-wordpress.
I was able to reproduce the issue again:
Fatal error: Uncaught TypeError: Argument 3 passed to Bugsnag_Error::fromPHPException() must be an instance of Exception, instance of Error given, called in /home/vagrant/Sites/maureentaylor.com/public/app/plugins/bugsnag/bugsnag-php/Client.php on line 360 and defined in /home/vagrant/Sites/maureentaylor.com/public/app/plugins/bugsnag/bugsnag-php/Error.php:31 Stack trace: #0 /home/vagrant/Sites/maureentaylor.com/public/app/plugins/bugsnag/bugsnag-php/Client.php(360): Bugsnag_Error::fromPHPException(Object(Bugsnag_Configuration), Object(Bugsnag_Diagnostics), Object(Error)) #1 [internal function]: Bugsnag_Client->exceptionHandler(Object(Error)) #2 {main} thrown in /home/vagrant/Sites/maureentaylor.com/public/app/plugins/bugsnag/bugsnag-php/Error.php on line 31
Here's the code that caused it, where $content
is a snippet of HTML:
$dom = new DOMDocument();
$dom->loadHTML($content);
$caption = $dom->documentElement();
var_dump($caption); die();
from bugsnag-wordpress.
This is probably a duplicate of #13 and #14.
from bugsnag-wordpress.
Fixed via 1.2.0/1.3.0.
from bugsnag-wordpress.
Related Issues (20)
- Feature Request: Incorporate JS Bugsnag Library HOT 10
- $bugsnagWordpress variable not available on CLI scripts HOT 2
- Set notification stages HOT 4
- Consider WP Enforcer HOT 2
- Unable to disable plugin from theme HOT 23
- Enable Display_errors? HOT 3
- Update the wordpress.org version HOT 3
- $bugsnagWordpress->setNotifyReleaseStages doesn't work HOT 7
- Bugsnag shouldn’t report silenced errors HOT 4
- PHP notices when posting settings HOT 1
- BugSnag removes PHP errors HOT 3
- Method setReleaseStage does not exist on Bugsnag_Wordpress or Bugsnag_Client HOT 2
- Config function does not affect Test button HOT 3
- Update Release Stage HOT 2
- Include Plugin/Theme Versions HOT 2
- Add Optional Tracking for CloudFlare HOT 2
- Support WordPress Coding Standards HOT 2
- Conflict with Gravity Forms 2.5.3 HOT 2
- Not setting 'bugsnag_filterfields' option will filter everything HOT 3
- Upgrade bugsnag-php to V3.* HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugsnag-wordpress.