• Resolved k1d0

    (@k1d0)


    Hi,

    Couple minutes ago I updated my YT channel plugin and I receive:

    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in /plugins/youtube-channel/inc/settings.php on line 218

    Actually I see it now every time I visit any other link than frontpage. I’m not able to disable plugin now since it shows this error.

    Any ideas.

    • This topic was modified 9 years, 5 months ago by k1d0.
    • This topic was modified 9 years, 5 months ago by k1d0. Reason: adding more info to title
Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter k1d0

    (@k1d0)

    I returned to version 3.0.9. until this is solved.

    Hello,

    Can you please tell me what PHP version you use?

    Thank you,
    Aleksandar

    Hi,
    I have the same issue. I updated my YT channel plugin and I receive the following error:

    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ‘)’ in /***4/****/***/*****.com/wp-content/plugins/youtube-channel/inc/settings.php on line 218

    I cannot even log into WordPress Dashboard for the site to work.
    If I can go back to the old version, it will be fine.
    Please help me! This is urgent.

    Thread Starter k1d0

    (@k1d0)

    Hi,

    just download older version of plugin and upload it through FTP to your modules folder. It should solve the problem.

    As Aleksandar suggested it seams like I’m using older version of PHP. Tonight I’ll try procedure that my hosting provider is suggesting for transferring to newer version, and I’ll let you know how module behave.

    Greetings

    Hi k1d0,

    Thank you for your information, where should I go to download old version?

    Thanks again.

    Hello Dinojoo, and k1d0 also!

    Can you please tell me your PHP version? If you don’t know how, check this WikiHow article http://www.wikihow.com/Check-PHP-Version

    You can get any of previously released versions from this page https://ww.wp.xz.cn/plugins/youtube-channel/developers/ or you can directly get v3.0.9 from https://downloads.wp.xz.cn/plugin/youtube-channel.3.0.9.zip

    But, before you do that, can you please test with 3.0.10 and feedback does this work for you:

    1. Through FTP or cPanel File Explorer find file wp-content/youtube-channel/inc/settings.php
    2. Open it for edit and find line 218. You’ll see code:
      'items' => $wpau_youtube_channel::cache_times_arr(),
    3. Replace :: with -> so you get code:
      'items' => $wpau_youtube_channel->cache_times_arr(),
    4. Save changes and upload to server. Can you now access back-end or you getting other fatal error?

    Kind regards,
    Aleksandar

    Hi k1d0,

    I downloaded 3.0.9 finally.
    Next thing is I unzip and upload entire “youtube-channel” folder to the server through FTP?

    Thanks,

    Hi,

    YES, it works like a charm.
    Now, I can access back-end wordpress.

    Thank you so much..

    Did changing :: to -> helped, or replacing files with version 3.0.9?

    Hi urkekg,

    Yes, I changed :: to ->.
    Sorry, I should mention to you.

    Thanks,

    Thank you for confirmation. I released v3.0.10.1 with this bugfix.
    Can you please upgrade and confirm all works properly?

    Hi urkekg,

    I think k1d0 needs to do that. I didn’t open this case.

    Thanks,

    I know that you can’t close case as k1d0 started topic. I just though that, as you also experienced same issue, you just feedback if v3.0.10.1 works on your server w/o problem.

    Cheers,
    Aleksandar

    Thread Starter k1d0

    (@k1d0)

    Hi all,

    I changed my PHP version to 5.6 and updated plugin successfully to version 3.0.10.3. Everything works great now 🙂

    Thanks!

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

The topic ‘Update Parse error in 3.0.10’ is closed to new replies.