WPIntell

Source evidence

Fatal Error with latest update

Better Click To Share – Shareable Quote Boxes for X (Twitter) · support · 2021-02-17T01:06:00+00:00

mixedsentiment
highseverity
0.95relevance
14replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 25 rows with source links

24.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
cam5atl resolved
Hello, I have attempted to update the plugin twice and experienced a fatal error. Good thing I backed up my system. Can you tell me if this is a plugin incompatibility issue or something else? The message reads: There has been a critical error on this website. Please check your site admin email inbox for instructions. Learn more about debugging in WordPress. Hi @cam5atl I’m happy to look into this. That error message is a WordPress system error that also sends a specific error to the administrator email on the site. Do you see an error emailed to the admin email? I’m happy to look into it further, but I’ll need to be able to replicate a problem. Does your host offer staging environments where you can update and reliably reproduce the problem? We’ll need to see that to get to the bottom of this. It could be a conflict with another plugin or the theme. Hard to tell at this point. Hi Ben, Thanks for your reply. I checked but haven’t received the system error email. Is there another way to access it? Yes, I have access to staging. Likely may be a conflict. Is there another way to get the error report? I experience the same issue “There has been a critical error on this website.” Using Version 5.10.0 I’m able to replicate it on multiple subsites. Running WP 5.7 This reply was modified 5 years, 2 months ago by Odin Liam Wright . @benmeredithgmailcom I’m having this issue as well. As soon as I activate the plugin (Version 5.10.0) it crashes my site. Running WordPress 5.7. I am not receiving a system error email however. I have a staging environment with the issue present that I’d be able to give you access to if you’d like? With WP_DEBUG enabled I’m seeing the following related to Better Click to Tweet: #4 /www/wp-content/plugins/better-click-to-tweet–/assets/block/init.php(41): get_the_title(NULL) #5 /www/wp-content/plugins/better-click-to-tweet–/better-click-to-tweet.php(364): require_once(‘/www/wp-content…’) This reply was modified 5 years, 2 months ago by harrisondg . Reason: Added WP_DEBUG lines @harrisondg please paste the entire error message so that I can have a look. What you’ve given me there is not enough to get to the bottom of this. Thanks! @benmeredithgmailcom Here is the full message: Fatal error: Uncaught Error: Call to a member function get() on null in /www/wp-includes/query.php:28 Stack trace: #0 /www/wp-content/plugins/premium-stock-market-widgets/classes/PremiumStockMarketWidgets/Plugin.php(652): get_query_var(‘smw_asset’) #1 /www/wp-includes/class-wp-hook.php(294): PremiumStockMarketWidgets\Plugin->disableTitle(”) #2 /www/wp-includes/plugin.php(212): WP_Hook->apply_filters(”, Array) #3 /www/wp-includes/post-template.php(171): apply_filters(‘the_title’, ”, 0) #4 /www/wp-content/plugins/better-click-to-tweet–/assets/block/init.php(41): get_the_title(NULL) #5 /www/wp-content/plugins/better-click-to-tweet–/better-click-to-tweet.php(364): require_once(‘/www/wp-content…’) #6 /www/wp-includes/class-wp-hook.php(292): {closure}(”) #7 /www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #8 /www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #9 /www/wp-settings.php(426): do_action(‘plugins_loaded’) #10 /www/wp-config.php(84): require_once(‘/www/wp-setting…’) #11 /w in /www/wp-includes/query.php on line 28 Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/wp-includes/functions.php on line 5313 Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/wp-includes/functions.php on line 5313 There has been a critical error on this website. Please check your site admin email inbox for instructions. …interesting. It appears that another plugin (in your case, a plugin named Premium Stock Market Widgets) is disabling the title in some way. My plugin (as of this version) uses the title as the click to tweet text if the text is left blank in the shortcode or block. So what appears to be happening is that the combination of the two (this other plugin disables the title, and then there’s nothing there to get, or something. I am going to have a few folks look into this and see what I can find, here! Thanks! @harrisondg @oliamwright @cam5atl I need access to the plugin that is conflicting here, because I am unable currently to replicate any problems in order to see if my fix resolves them. So far we’ve isolated it to that Premium Stock Market Widgets plugin causing an issue, but that one appears to be a premium plugin that I don’t have access to. Any of the rest of you, I’ll need a list of the plugins installed and active on your site. You can get that list at Tools > Site Health > Info: (here’s an image showing that) https://wpsteward.s3.amazonaws.com/wp-content/uploads/2021/03/20145454/Screen-Shot-2021-03-20-at-10.52.51-AM.png @benmeredithgmailcom I sent you an email at contact@wpsteward.com Hey @harrisondg and @oliamwright and @cam5atl I’ve just released a new version of the plugin that should resolve these issues. Thanks to @harrisondg for the access to a plugin that I could replicate the problem with. Let me know if the issue remains unresolved! Thanks @benmeredithgmailcom ! This issue is fixed for my site Hi @benmeredithgmailcom I want the ‘click to tweet’ on mobile to launch the twitter app (if installed e.g. iOS or Android) but currently BCTT only launches a browser, and a login page. Is there a setting or some way to ensure that BCTT which clicked on mobile will launch the Twitter app? Thanks Joe Hi @joceph Please don’t tag onto existing forum threads, since we don’t want to ping everyone here! In answer to your question: on my device (android pixel 3A) it does open all links to twitter dot com in the twitter app. That is handled at the device level, or the browser level. Hi @benmeredithgmailcom … I no longer need assistance. But thank you.

Comments

14 shown
Ben Meredith 2021-02-17T02:46:00+00:00

Hi @cam5atl I’m happy to look into this. That error message is a WordPress system error that also sends a specific error to the administrator email on the site. Do you see an error emailed to the admin email? I’m happy to look into it further, but I’ll need to be able to replicate a problem. Does your host offer staging environments where you can update and reliably reproduce the problem? We’ll need to see that to get to the bottom of this. It could be a conflict with another plugin or the theme. Hard to tell at this point.

cam5atl 2021-02-17T03:54:00+00:00

Hi Ben, Thanks for your reply. I checked but haven’t received the system error email. Is there another way to access it? Yes, I have access to staging. Likely may be a conflict. Is there another way to get the error report?

Odin Liam Wright 2021-03-12T07:03:00+00:00

I experience the same issue “There has been a critical error on this website.” Using Version 5.10.0 I’m able to replicate it on multiple subsites. Running WP 5.7 This reply was modified 5 years, 2 months ago by Odin Liam Wright .

harrisondg 2021-03-17T18:41:00+00:00

@benmeredithgmailcom I’m having this issue as well. As soon as I activate the plugin (Version 5.10.0) it crashes my site. Running WordPress 5.7. I am not receiving a system error email however. I have a staging environment with the issue present that I’d be able to give you access to if you’d like? With WP_DEBUG enabled I’m seeing the following related to Better Click to Tweet: #4 /www/wp-content/plugins/better-click-to-tweet–/assets/block/init.php(41): get_the_title(NULL) #5 /www/wp-content/plugins/better-click-to-tweet–/better-click-to-tweet.php(364): require_once(‘/www/wp-content…’) This reply was modified 5 years, 2 months ago by harrisondg . Reason: Added WP_DEBUG lines

Ben Meredith 2021-03-19T02:18:00+00:00

@harrisondg please paste the entire error message so that I can have a look. What you’ve given me there is not enough to get to the bottom of this. Thanks!

harrisondg 2021-03-19T16:03:00+00:00

@benmeredithgmailcom Here is the full message: Fatal error: Uncaught Error: Call to a member function get() on null in /www/wp-includes/query.php:28 Stack trace: #0 /www/wp-content/plugins/premium-stock-market-widgets/classes/PremiumStockMarketWidgets/Plugin.php(652): get_query_var(‘smw_asset’) #1 /www/wp-includes/class-wp-hook.php(294): PremiumStockMarketWidgets\Plugin->disableTitle(”) #2 /www/wp-includes/plugin.php(212): WP_Hook->apply_filters(”, Array) #3 /www/wp-includes/post-template.php(171): apply_filters(‘the_title’, ”, 0) #4 /www/wp-content/plugins/better-click-to-tweet–/assets/block/init.php(41): get_the_title(NULL) #5 /www/wp-content/plugins/better-click-to-tweet–/better-click-to-tweet.php(364): require_once(‘/www/wp-content…’) #6 /www/wp-includes/class-wp-hook.php(292): {closure}(”) #7 /www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #8 /www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #9 /www/wp-settings.php(426): do_action(‘plugins_loaded’) #10 /www/wp-config.php(84): require_once(‘/www/wp-setting…’) #11 /w in /www/wp-includes/query.php on line 28 Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/wp-includes/functions.php on line 5313 Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/wp-includes/functions.php on line 5313 There has been a critical error on this website. Please check your site admin email inbox for instructions.

Ben Meredith 2021-03-19T18:15:00+00:00

…interesting. It appears that another plugin (in your case, a plugin named Premium Stock Market Widgets) is disabling the title in some way. My plugin (as of this version) uses the title as the click to tweet text if the text is left blank in the shortcode or block. So what appears to be happening is that the combination of the two (this other plugin disables the title, and then there’s nothing there to get, or something. I am going to have a few folks look into this and see what I can find, here! Thanks!

Ben Meredith 2021-03-20T14:56:00+00:00

@harrisondg @oliamwright @cam5atl I need access to the plugin that is conflicting here, because I am unable currently to replicate any problems in order to see if my fix resolves them. So far we’ve isolated it to that Premium Stock Market Widgets plugin causing an issue, but that one appears to be a premium plugin that I don’t have access to. Any of the rest of you, I’ll need a list of the plugins installed and active on your site. You can get that list at Tools > Site Health > Info: (here’s an image showing that) https://wpsteward.s3.amazonaws.com/wp-content/uploads/2021/03/20145454/Screen-Shot-2021-03-20-at-10.52.51-AM.png

harrisondg 2021-03-22T16:55:00+00:00

@benmeredithgmailcom I sent you an email at contact@wpsteward.com

Ben Meredith 2021-03-28T18:20:00+00:00

Hey @harrisondg and @oliamwright and @cam5atl I’ve just released a new version of the plugin that should resolve these issues. Thanks to @harrisondg for the access to a plugin that I could replicate the problem with. Let me know if the issue remains unresolved!

harrisondg 2021-03-29T17:27:00+00:00

Thanks @benmeredithgmailcom ! This issue is fixed for my site

joceph 2021-04-14T18:52:00+00:00

Hi @benmeredithgmailcom I want the ‘click to tweet’ on mobile to launch the twitter app (if installed e.g. iOS or Android) but currently BCTT only launches a browser, and a login page. Is there a setting or some way to ensure that BCTT which clicked on mobile will launch the Twitter app? Thanks Joe

Ben Meredith 2021-04-14T19:16:00+00:00

Hi @joceph Please don’t tag onto existing forum threads, since we don’t want to ping everyone here! In answer to your question: on my device (android pixel 3A) it does open all links to twitter dot com in the twitter app. That is handled at the device level, or the browser level.

cam5atl 2021-04-14T19:17:00+00:00

Hi @benmeredithgmailcom … I no longer need assistance. But thank you.