Jump to content

Plugin Error : 'unknown_setting:'


maxkunes

Recommended Posts

In my plugin I define a settings like so : 

VvYrUDL.png

I then proceed to have my settings.php file have these contents: 

$form->add(new \IPS\Helpers\Form\TextArea('disable_multiple_quantities_names', \IPS\Settings::i()->disable_multiple_quantities_names, null, array()));

if ($values = $form->values()) {
    $form->saveAsSettings();
    return true;
}

return $form;

 

Going to the settings section of the plugin, I get this as expected (Disregard the plugin name, its for testing) : 

Uw7nWd8.png

 

Putting in a value and pressing save, I get this

wh2k7v1.png

 

 

 

 

Edit : 

Creating a new plugin and redoing everything fixed this, something must have been corrupted.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...