-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widgets: fixes PHP's fatal class not found error on Simple Payments Widget #9871
Conversation
… dependency on Jetpack_Simple_Payments_Widget.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on JurassicNinja sites. Works great!
LGTM 🐑 🇮🇹
Adding myself here to notify 1275815-zen when this is live :) |
i have same issue last 2 weeks, currently Jetpack deactivated. i think it had my site slowing down for 2-3 months. Worpress not responding. Cannot log into AMP. I am amatuer. annoying. |
@mdggjfgdog Can you submit a support request via https://jetpack.com/contact-support/ ? Anything from 2-3 months back would not be related to this as the widget is a new addition as of this month's release of Jetpack. |
Merci`
…On Thu, Jul 19, 2018 at 5:25 PM, Jacopo Tomasone ***@***.***> wrote:
***@***.**** approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9871 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjHOy2g56WZe8Txp-i6Pk6v-3RySG39iks5uILMXgaJpZM4VEZBF>
.
|
Adding 1291753-zen for myself to loop back after this is merged |
❤️🥃 |
nice: note am using wp multisite
Site going so fast without Jetpack, but i need it for Woo & WPMp and
integrations with WP & boldgrid.
Spread the Love.
…On Fri, Jul 20, 2018 at 3:26 PM, Tracy Rotton ***@***.***> wrote:
❤️🥃
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9871 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjHOy2gBbxCD7GFIZaOQBb0_ExzlLk9zks5uIeiGgaJpZM4VEZBF>
.
|
tried patch
new fatal error
Parse error: syntax error, unexpected 'if' (T_IF) in
/home/*******/public_html/wp-content/plugins/jetpack.deactivate/modules/widgets/simple-payments.php
on line 479
…On Fri, Jul 20, 2018 at 9:51 PM, Gray Flattery ***@***.***> wrote:
nice: note am using wp multisite
Site going so fast without Jetpack, but i need it for Woo & WPMp and
integrations with WP & boldgrid.
Spread the Love.
On Fri, Jul 20, 2018 at 3:26 PM, Tracy Rotton ***@***.***>
wrote:
> ❤️🥃
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#9871 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AjHOy2gBbxCD7GFIZaOQBb0_ExzlLk9zks5uIeiGgaJpZM4VEZBF>
> .
>
|
@mdggjfgdog Please contact https://jetpack.com/contact-support/ or feel free to open a new GitHub issue with the exact details of the problem you're seeing. As commented before, if this has been happening for 2-3 months it won't be related to this specific addition. |
Please ignore 2-3 months comments. I have had issues from my
WP/Boldgrid/Jetpack begining
But this is email i sent to Inmotion today.
*****
After 2 mins loading bootifulworld.net/whmcs/admin
https://bootifulworld.net/whmcs/admin/login.php?redirect=%2Fwhmcs%2Fadmin%
2Findex.php
https://bootifulworld.net/whmcs/admin/login.php?incorrect=1
what about viewing my front page .....https://bootifulworld.net/whmcs er,
no returned to https://bootifulworld.net/#
i am locked out, some days good, some bad, but from memory it is healthy, i
have 2 errors that come up. Though both errors have been resolved, One is
about date-time-location.php
and i am unable to add sites to multi sites since installed in May
also i have an issue with images, and them disappearing., since starting
November 2017, and slow site since begining. NOV 2017
and still Jetpack, i applied their patch, and got another FATAL ERROR, so
deactived. **************
Yes Gabriel, i tried patch last night, and another FATAL ERROR came up, i
will try again now.
I have contacted Jetpack Twice, with no reply.
Appreciate everyone`s help and values.
yours Gray of bootifulworld
…On Sat, Jul 21, 2018 at 7:25 AM, Gabriel Maldonado ***@***.*** > wrote:
@mdggjfgdog <https://github.com/mdggjfgdog> Please contact
https://jetpack.com/contact-support/ or feel free to open a new GitHub
issue with the exact details of the problem you're seeing. As commented
before, if this has been happening for 2-3 months it won't be related to
this specific addition.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9871 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjHOy6jNUSy1_b3fF1QBPyrYApO7RIL9ks5uIslcgaJpZM4VEZBF>
.
|
I have tried patch again....
// Register Jetpack_Simple_Payments_Widget widget.
function register_widget_jetpack_simple_payments() {
+ if ( ! class_exists( 'Jetpack_Simple_Payments' ) ) {
+ return;
+ }
+
$jetpack_simple_payments = Jetpack_Simple_Payments::getInstance();
if ( ! $jetpack_simple_payments->is_enabled_jetpack_simple_payments() ) {
return;
Parse error: syntax error, unexpected 'if' (T_IF) in
/home/bootif5/public_html/wp-content/plugins/jetpack.deactivate/modules/widgets/simple-payments.php
on line 479
yours G
…On Sat, Jul 21, 2018 at 9:57 PM, Gray Flattery ***@***.***> wrote:
Please ignore 2-3 months comments. I have had issues from my
WP/Boldgrid/Jetpack begining
But this is email i sent to Inmotion today.
*****
After 2 mins loading bootifulworld.net/whmcs/admin
https://bootifulworld.net/whmcs/admin/login.php?redirect=%
2Fwhmcs%2Fadmin%2Findex.php
https://bootifulworld.net/whmcs/admin/login.php?incorrect=1
what about viewing my front page .....https://bootifulworld.net/whmcs
er, no returned to https://bootifulworld.net/#
i am locked out, some days good, some bad, but from memory it is healthy,
i have 2 errors that come up. Though both errors have been resolved, One is
about date-time-location.php
and i am unable to add sites to multi sites since installed in May
also i have an issue with images, and them disappearing., since starting
November 2017, and slow site since begining. NOV 2017
and still Jetpack, i applied their patch, and got another FATAL ERROR, so
deactived. **************
Yes Gabriel, i tried patch last night, and another FATAL ERROR came up, i
will try again now.
I have contacted Jetpack Twice, with no reply.
Appreciate everyone`s help and values.
yours Gray of bootifulworld
On Sat, Jul 21, 2018 at 7:25 AM, Gabriel Maldonado <
***@***.***> wrote:
> @mdggjfgdog <https://github.com/mdggjfgdog> Please contact
> https://jetpack.com/contact-support/ or feel free to open a new GitHub
> issue with the exact details of the problem you're seeing. As commented
> before, if this has been happening for 2-3 months it won't be related to
> this specific addition.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#9871 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AjHOy6jNUSy1_b3fF1QBPyrYApO7RIL9ks5uIslcgaJpZM4VEZBF>
> .
>
|
@mdggjfgdog It looks like you probably forgot to remove the Try replacing the entire function register_widget_jetpack_simple_payments() {
if ( ! class_exists( 'Jetpack_Simple_Payments' ) ) {
return;
}
$jetpack_simple_payments = Jetpack_Simple_Payments::getInstance();
if ( ! $jetpack_simple_payments->is_enabled_jetpack_simple_payments() ) {
return;
}
register_widget( 'Jetpack_Simple_Payments_Widget' );
} |
Yes and i knew better..i have tried Copons as above, and got an error on the last line, so i have returned to previous patch and after trying to de-activate, got similar result - Parse error: syntax error, unexpected end of file in /home/*******/public_html/wp-content/plugins/jetpack.deactivate/modules/widgets/simple-payments.php on line 486 |
@mdggjfgdog I can't seem to reproduce it, and I'm inclined to think there are other typos in the file. Would you mind replacing the entire content of your |
bravo !! so far so good, will check in the morning again. What was the
error?
may 1ooo data petals fall on your head !!
bootifulworld is many ££££ in the negative but would like to contract
someone, to tidy up, my efforts. I have learnt so much these last few
months, but early on i must have made some mistakes. I myself are on a
mission, which i know will be a success, but i need to be doing other
things, like stocking shop, creating identity and using the scanner etc,
and i have a large pile `of next jobs to do`. And paying for skilled help
will save me money. So I am offering £300 or $395, to help me resolve my
other issues. I value your time/skills at £50per hour.
Thanks to everyone, again
…On Sun, Jul 22, 2018 at 8:11 PM, Jacopo Tomasone ***@***.***> wrote:
@mdggjfgdog <https://github.com/mdggjfgdog> I can't seem to reproduce it,
and I'm inclined to think there are other typos in the file.
Would you mind replacing the entire content of your
modules/widgets/simple-payments.php with the current content of the file
in this repo?
(You can find it here: https://raw.githubusercontent.
com/Automattic/jetpack/d3a69aac1463184e8353668eb2ccd9
675781909e/modules/widgets/simple-payments.php)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9871 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjHOyzfZ61NuWk0-oE1cVdm801huCfhoks5uJM53gaJpZM4VEZBF>
.
|
Hi, Working but not working, whilst everything apart from whmcs is running
smooth. Site-Jetpack message - going off hourly (not exactly).
Your site is responding intermittently, or extremely slowly. This can
indicate an overloaded, under-powered, or misconfigured server. Your site
is probably loading for some users, but not for everyone.
so not same issue, and i am not getting any error messages any where else ?
can anyone give me a pointer in any direction
yours G J Flattery
…On Sun, Jul 22, 2018 at 9:05 PM, Gray Flattery ***@***.***> wrote:
bravo !! so far so good, will check in the morning again. What was the
error?
may 1ooo data petals fall on your head !!
bootifulworld is many ££££ in the negative but would like to contract
someone, to tidy up, my efforts. I have learnt so much these last few
months, but early on i must have made some mistakes. I myself are on a
mission, which i know will be a success, but i need to be doing other
things, like stocking shop, creating identity and using the scanner etc,
and i have a large pile `of next jobs to do`. And paying for skilled help
will save me money. So I am offering £300 or $395, to help me resolve my
other issues. I value your time/skills at £50per hour.
Thanks to everyone, again
On Sun, Jul 22, 2018 at 8:11 PM, Jacopo Tomasone ***@***.***
> wrote:
> @mdggjfgdog <https://github.com/mdggjfgdog> I can't seem to reproduce
> it, and I'm inclined to think there are other typos in the file.
>
> Would you mind replacing the entire content of your
> modules/widgets/simple-payments.php with the current content of the file
> in this repo?
> (You can find it here: https://raw.githubusercontent.
> com/Automattic/jetpack/d3a69aac1463184e8353668eb2ccd96757819
> 09e/modules/widgets/simple-payments.php)
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#9871 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AjHOyzfZ61NuWk0-oE1cVdm801huCfhoks5uJM53gaJpZM4VEZBF>
> .
>
|
@mdggjfgdog thanks for contacting us! The fact that your site is running OK with the patch is great news! The fact that it's slow for some reason is not. |
Thanks Igor, yes i just have. This stream can be closed now. Thanks people
…On Tue, Jul 24, 2018 at 5:11 PM, Igor Zinovyev ***@***.***> wrote:
@mdggjfgdog <https://github.com/mdggjfgdog> thanks for contacting us! The
fact that your site is running OK with the patch is great news! The fact
that it's slow for some reason is not.
Have you tried contacting someone from your hosting provider? A slow site
is impossible to debug without taking a look at what's "inside". Tech
support should be able to get down to the root cause pretty quickly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9871 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjHOy-sx-O2yOoU0R8nw3-8FurSQibBGks5uJ0cagaJpZM4VEZBF>
.
|
Confirmed patch worked also for 1310968-zen |
The latest update Jetpack 6.3.3 broke it back :( |
Hi @123dev, this is tagged with version 6.4 so the fix in this pull request wasn't included in 6.3.3 |
Hi @dougaitken thanks for the clarification. Thanks |
@123dev Jetpack version 6.4. was released yesterday. This fix was specific to multisite installations. https://jetpack.com/2018/08/07/jetpack-6-4-release/ If you are on version 6.4 and seeing this error, please reach out to the team - http://jetpack.com/contact |
Fixes #9875
Changes proposed in this Pull Request:
Jetpack_Simple_Payments
class dependency onJetpack_Simple_Payments_Widget
.Testing instructions:
Previously, the site failed with a WSOD with this error:
which should no longer happen.
Proposed changelog entry for your changes: