• Resolved Ken

    (@kronomia)


    Hello!

    I have updated one of my websites today from PHP 5.6 to 7.0.14.

    Sadly though, the website crashed instantly (as expected). After an hour of debugging, I reached the conclusion that Piwik and OneSignal are simply not working together if both of them are active. Upon activating both of them, I get an instant server error.

    Is your plugin compatible with PHP 7.0.14?

    I have checked with Piwik as well and they have confirmed to me that their official plugin is working perfectly on PHP 7.0.14.

    Thanks in advance for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello Ken,

    Thanks for reporting this and sorry for the delay in getting back to you. We tried testing our plugin with PHP 7.0.10 (not the .14 version though):

    View post on imgur.com

    We did not experience any issues loading the admin Configuration page, saving settings in the admin Configuration page, or when our plugin outputted code to the webpage.

    View post on imgur.com

    The next thing to check would be your server’s error logs. What did the error say?

    Thread Starter Ken

    (@kronomia)

    Hello!

    Thank you for your reply.

    The issue is not with PHP 7 but with running your plugin with the Piwik analytics on PHP 7. I guess you missed that point from my original bug report.

    Please install the Piwik analytics plugin (WP-Piwik) then try to check for any errors.

    Your plugin and Piwik analytics plugin are both working perfectly well by themselves. However, activating them at the same time is leading to the 500 internal server error.

    Thanks in advance.

    All the best!

    • This reply was modified 9 years, 4 months ago by Ken. Reason: adding more details

    Hi Ken,

    You’re right, sorry I missed that!

    I installed WP-Piwik and activated it, however I did not actually connect it to Piwik. Maybe there is a different code path that is run when Piwik is connected, but after activating Piwik, no crashes happened.

    If you have a staging site you can reproduce this on, we can provide instructions on how to install a logging plugin that would log the 500 Internal Server Error as it happens. Or if you’ve already logged it, what does the error say?

    Marking as resolved to prevent stale threads. If this issue isn’t resolved, please reach out to support@onesignal.com where we investigate the issue in more details. Please link to this thread and provide your Site URL / OneSignal login email for details.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP 7 Compatibility – Conflict with Piwik’ is closed to new replies.