mattmatt88
Forum Replies Created
-
That’s understandable, no worries. I just thought you might have an idea, because you modified the code.
Anyway my workaround was to just copy the code from the function and write it in the code instead. Cause it was too risky for today to update my PHP version.
I finally checked my PHP logs and they showed that there is a problem with the $this variable.
I am using exactly your code with just my json data that I double checked.
[proxy_fcgi:error?[pid 2714272:tid 2714284?[client 94.131.109.27:0?AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Using $this when not in object context in /home/xxx: XXX()\n#3 {main}\n thrown in /home/XXX/wp-content/plugins/fcm-push-notification-from-wp/fcm-dp-push-notification.php on line 551'
What can I do?
I copied the code and adjusted the fcmdpplgpn_notification function with the content of the firebase json file.
But at this line the code stops working:
$token = $this->generate_firebase_jwt($authConfig);
If I send an email at the beginning of the function it doesn’t send anymore. Before this function it did:
private function generate_firebase_jwt($authConfig) {
wp_mail('[email protected]', 'test', 'test');Do you have an idea why?
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0I used the DE version.
Yeah, I am also wondering why it still works with 4.0.
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0Unfortunately, I can’t get it to work at all, although I created new API keys and I am on the same website where the old version worked.
[amazonproducts asin=”B008FYVI8Q”]
doesn’t output anything[amazon-element asin=”B008FYVI8Q” fields=”title”]
outputs only the div wrapper: <div class=”appip-block-wrapper”></div>Also if I switch back to the old version with the new API keys, it still works again.
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0Are you able to update today?
- This reply was modified 4 years, 8 months ago by mattmatt88.
- This reply was modified 4 years, 8 months ago by mattmatt88.
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0I would be glad if you can manage to update 1 or 2 days prior to the shutoff of PA4.0, as I have to make customizations and test everything again.
Thanks a lot for your effort!
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0Thanks for the response! Glad to hear that
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0Yes its only 7 days left until the old API will be deactivated. Will you update the plugin this week?
Thanks for you quick response
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0That sounds great.
I don’t need any new features, as long as the existing shortcodes of the plugin still work as before.
Thanks for your great work!Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] Amazon Product Advertising API 5.0Too bad. I need a plugin like yours to continue. If it’s even too complicated for a professional plugin developer, I don’t see a way to continue with amazon api
So anyone got an idea, how to still get product information automatically after Feb 11, which is the date where they finally shut down API 4.0.
Forum: Plugins
In reply to: [WP Offload SES Lite] CC emails not being deliveredI also need the feature of sending email to BCC addresses, which doesn’t seem to work too.
I added the E-Mails to the header of wp_mail:
$headers[] = 'Bcc: '.$user->user_email;
and then send wp_mail ($email is another email address than in $headers):
wp_mail($email, $subject, $message, $headers);
- This reply was modified 5 years, 8 months ago by mattmatt88.
Forum: Plugins
In reply to: [OneSignal - Web Push Notifications] Plugin on MultisiteI am network admin, so this should not be a problem.
In Chrome, I already see the “bell” for notifications but not on Firefox or other browsers. I also tried to reset my cookies/cache.
That’s why I am asking, if there is generally a problem that you don’t support multisite, or am I doing something else wrong?
Forum: Plugins
In reply to: [GEO my WP] Problem with post__in query filterCan you help please?
ok i got it working with a function like this:
https://rtmedia.io/docs/developers/customize-media-gallery-template/