Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthoryosemirza
    • CommentTimeDec 31st 2015 edited
     

    Hi, I have issue when installing on WP with PHP7

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJan 4th 2016
     
    Project Admin

    Do you have any specifics on the error you're seeing when trying to use OIO with php7?

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthoryosemirza
    • CommentTimeJan 5th 2016 edited
     

    Hi Simon, I am running WP 4.4 with PHP7

    Here the notice:

    version in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_modules::$Array in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Array to string conversion in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_modules::$Array in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Array to string conversion in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_modules::$Array in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Array to string conversion in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_modules::$Array in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Array to string conversion in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_modules::$Array in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Array to string conversion in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_modules::$Array in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Array to string conversion in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_modules::$Array in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/include/admin.php on line 68

    Notice: Undefined property: oiopub_settings::$cron_accessed in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/general.php on line 53

    Notice: Undefined index: model in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/banners.php on line 370

    Notice: Undefined index: model in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/banners.php on line 371

    Notice: Undefined index: model in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/banners.php on line 373

    Notice: Undefined index: type in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/banners.php on line 516

    Notice: Undefined index: type in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/banners.php on line 524

    Notice: Undefined index: image in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/banners.php on line 530

    Notice: Undefined index: site in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/banners.php on line 532

    Undefined index: db in /srv/users/serverpilot/apps/nrb/public/wp-content/plugins/oiopub-direct/admin/geolocation.php on line 51

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthoryosemirza
    • CommentTimeJan 6th 2016
     

    Hi Simon,

    Have you any chance to look into this? Maybe this awesome plugin need an upgrade to ensure the compatibility with PHP7 and the latest WP.

    Thanks

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJan 11th 2016
     
    Project Admin

    Sorry for the delay. It does look as though there might be a few changes in what raises a notice in php7, which I'll go through on a local install of php7.

    In the mean time, if you turn off notices from displaying, does it prevent OIO from working? Notices normally shouldn't prevent normal functionality.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthoryosemirza
    • CommentTimeJan 29th 2016
     

    I am a little nervous to run it on live site.

    I thought it's time to upgrade the plugin to be more compatible with PHP7 and the latest WP since the latest upgrade was very long time.

    Thanks

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJan 31st 2016 edited
     
    Project Admin

    I've been through the current version of OIO with php 7 and have gotten rid of anything that could cause an issue (such as the array to string conversion). There will be a few more to clean up in the future, but they shouldn't cause any issue with OIO functioning.

    Just make sure your error reporting level is set to something standard on the live site, so that it doesn't display notices to users.

    NB: the reason OIO doesn't get updated when new versions of WordPress come out is because it is rarely needed. OIO is built in such a way that only a couple of major WordPress releases have ever required a compatibility update. It's quite robust.

    Need help?  Quick start guide | Troubleshooting | All help topics