WordPress.org

Forums

PHPLeague
Problem with clubs (4 posts)

  1. narvinho
    Member
    Posted 2 years ago #

    Hi!
    When I go to 'club' section I get:

    Fatal error: Call to undefined function wp_load_translations_early() in /home/[my doman]/public_html/[my site]/wp-includes/wp-db.php on line 928

    What's wrong? BTW I run Polish website, but the plugin is in English (I suppose it should be translated as I've seen)
    Regards!

    http://wordpress.org/extend/plugins/phpleague/

  2. narvinho
    Member
    Posted 2 years ago #

    Somehow it started to work when I updated WordPress (but it is still in English). Now I cannot save settings of the league...
    This is what I get

    WordPress database error: [Unknown column 'team_link' in 'field list']
    UPDATE wp_phpleague_league SET name = 'IV liga', year = 2012, pt_victory = 3, pt_draw = 1, pt_defeat = 0, promotion = 1, qualifying = 0, relegation = 4, id_favorite = 13, nb_leg = 2, team_link = 'no', default_time = '17:00:00', player_mod = 'yes', prediction_mod = 'no' WHERE id = 1

  3. mr_D
    Member
    Posted 2 years ago #

    Hi,
    I have the same problem. My wp lang is set to polish, but plugin is not translated. Does anybody know how to fix it ?

  4. Neon_Knight
    Member
    Posted 2 years ago #

    I have a solution, but it's more of a workaround, though it stopped the problem.

    What I did was to add manually the fields via phpMyAdmin. These are the values I've inputted for the new columns:

    Name - Type - ┬┐NULL? - Default

    team_link - tinyint(1) - Yes - NULL
    default_time - datetime - Yes - NULL
    player_mod - tinyint(1) - Yes - NULL
    prediction_mod - tinyint(1) - Yes - NULL

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHPLeague
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags