PHP 7.1 issue

Not one for queueing up? Get faster support with AdRotate Pro!
The forum is checked a few times per week. With AdRotate Pro you can get answers faster using email support.
More private, more direct and usually a solution within a day! Learn more »

Home Forums AdRotate for WordPress General Support PHP 7.1 issue

This topic contains 4 replies, has 2 voices, and was last updated by  Davide 1 year, 5 months ago.

  • #24126

    Davide
    Badges:

    Hi there,

    I am using your last pro version and PHP 7.1

    Trying to edit a single advert, I am getting:

    Uncaught Error: [] operator not supported for strings in in /www/wp-content/plugins/adrotate-pro/dashboard/publisher/adverts-edit.php:43

    Anyone could help?

    thank you

    #24137

    Davide
    Badges:

    I think you can solve the issue (don’t know, just thinking):

    – $meta_array = $schedule_array = ”;
    + $meta_array = $schedule_array = [];

    Line: 38 adverts-edit.php for example, and the same on the group file

    #24402

    Davide
    Badges:

    Hi,

    maybe anyone could reply on this?

    Thank you

    #24459

    Arnan
    Badges:

    I don’t have PHP7 to test this on but try to change line 36 in adverts-edit.php into:
    $meta_array = $schedule_array = array();

    #24485

    Davide
    Badges:

    Thank you @arnan. I will try to edit those file.

    May I suggest you to test your great plugin on PHP 7? Many of us are using it.

    My best

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘PHP 7.1 issue’ is closed to new replies.