Title: Update Parse error in 3.0.10
Last modified: January 1, 2017

---

# Update Parse error in 3.0.10

 *  Resolved [k1d0](https://wordpress.org/support/users/k1d0/)
 * (@k1d0)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/)
 * 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, 4 months ago by [k1d0](https://wordpress.org/support/users/k1d0/).
    -  This topic was modified 9 years, 4 months ago by [k1d0](https://wordpress.org/support/users/k1d0/).
      Reason: adding more info to title

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

 *  Thread Starter [k1d0](https://wordpress.org/support/users/k1d0/)
 * (@k1d0)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8607970)
 * I returned to version 3.0.9. until this is solved.
 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8608171)
 * Hello,
 * Can you please tell me what PHP version you use?
 * Thank you,
    Aleksandar
 *  [dinojoo](https://wordpress.org/support/users/dinojoo/)
 * (@dinojoo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8636570)
 * 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](https://wordpress.org/support/users/k1d0/)
 * (@k1d0)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8636911)
 * 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
 *  [dinojoo](https://wordpress.org/support/users/dinojoo/)
 * (@dinojoo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8638261)
 * Hi k1d0,
 * Thank you for your information, where should I go to download old version?
 * Thanks again.
 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8638635)
 * 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](http://www.wikihow.com/Check-PHP-Version)
 * You can get any of previously released versions from this page [https://wordpress.org/plugins/youtube-channel/developers/](https://wordpress.org/plugins/youtube-channel/developers/)
   or you can directly get v3.0.9 from [https://downloads.wordpress.org/plugin/youtube-channel.3.0.9.zip](https://downloads.wordpress.org/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
 *  [dinojoo](https://wordpress.org/support/users/dinojoo/)
 * (@dinojoo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8638643)
 * 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,
 *  [dinojoo](https://wordpress.org/support/users/dinojoo/)
 * (@dinojoo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8638719)
 * Hi,
 * YES, it works like a charm.
    Now, I can access back-end wordpress.
 * Thank you so much..
 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8638920)
 * Did changing `::` to `->` helped, or replacing files with version 3.0.9?
 *  [dinojoo](https://wordpress.org/support/users/dinojoo/)
 * (@dinojoo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8639630)
 * Hi urkekg,
 * Yes, I changed :: to ->.
    Sorry, I should mention to you.
 * Thanks,
 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8639690)
 * Thank you for confirmation. I released v3.0.10.1 with this bugfix.
    Can you please
   upgrade and confirm all works properly?
 *  [dinojoo](https://wordpress.org/support/users/dinojoo/)
 * (@dinojoo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8642638)
 * Hi urkekg,
 * I think k1d0 needs to do that. I didn’t open this case.
 * Thanks,
 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8642871)
 * 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](https://wordpress.org/support/users/k1d0/)
 * (@k1d0)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8666528)
 * 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.

 * ![](https://ps.w.org/youtube-channel/assets/icon.svg?rev=2845692)
 * [My YouTube Channel](https://wordpress.org/plugins/youtube-channel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-channel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-channel/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-channel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-channel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-channel/reviews/)

 * 14 replies
 * 3 participants
 * Last reply from: [k1d0](https://wordpress.org/support/users/k1d0/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/update-error-49/#post-8666528)
 * Status: resolved