Support » Plugin: Top 10 - Popular posts plugin for WordPress » Error on the backend

  • Resolved ElTaino

    (@eltaino)


    I can not access my Admin:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/07/7223507/html/wp-content/plugins/top-10/admin/class-stats.php on line 556

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m having the same error. Can ‘t access dashboard.

    Parse error: syntax error, unexpected T_FUNCTION in /home/mbac/domains/missionbayaquaticcenter.com/public_html/news/wp-content/plugins/top-10/admin/class-stats.php on line 556

    Please help!

    • This reply was modified 2 years, 9 months ago by  rowman25.

    Same error, yesterday a update came but still doesn’t work. 🙁

    Why you update actually working plugin?

    Parse error: syntax error, unexpected T_FUNCTION in wp-content/plugins/top-10/admin/class-stats.php on line 556

    Plugin Author Ajay

    (@ajay)

    Hi, this is possibly because you’re running very old versions of PHP likely before 5.3. In this case, it is recommended that you upgrade PHP.

    If you’re unable to do so, for now, please edit wp-content/plugins/top-10/admin/class-stats.php and delete the lines from 556 onwards

    i.e. these three lines:

    
    add_action( 'plugins_loaded', function () {
    	Top_Ten_Statistics::get_instance();
    } );
    Plugin Author WebberZone

    (@webberzone)

    v2.4.2 should fix this error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error on the backend’ is closed to new replies.