How to solve error: table does not exist?

How to solve error: table does not exist?

by Sean Thornber -
Number of replies: 2

Hey guys,

I have a table called "block_simple_rank_points" and want to be able to access it to display it in a table on a form. This implementation worked fine for the users table that is already present in moodle, but for this table I have created (using the XMLDB editor as recommended in the documentation), I simply cannot access it whatsoever and am instead told that the table doesn't exist. The table is at present empty, but even when I attempt to add a record to this table I am told that the table does not exist.

Is there anything else that I need other than the install.xml file in order to instantiate this table?

Thanks, Sean.

Average of ratings: -
In reply to Sean Thornber

Re: How to solve error: table does not exist?

by Sean Thornber -

Disregard this, I'm an idiot.

I thought install.xml ran upon every version update, turns out I had to just uninstall and reinstall the plugin ! Silly me 😓