Announcement

Collapse
No announcement yet.

Error when adding a new usergroup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Bug / Issue] Error when adding a new usergroup

    Hello,
    when I try to add an user group from admincp/usergroup.php?do=add&

    I always get this error

    È stato restituito un errore imprevisto: 'Cannot use object of type vB_dB_MYSQL_Result as array'


    Same problem copying permissions from an existing group or creating a new group from basis.

    Already tried to change PHP from 8.2 to older versions, no results.
    How could I solve?

    Thanks
    BR

  • #2
    What exact vBulletin version is this please?
    MARK.B
    vBulletin Support

    Comment


    • #3
      5.7.4, latest

      Comment


      • #4
        As always, we need to see the complete error with the file name and line number to understand what is going on within your system. This will be logged in your PHP Error Log on the server. You can see where your Error Log is stored by visiting Maintenance → View PHP Error and using your browser's search tool to search for error_log.

        You may also be able to see the full error and stack trace if you put your site into Debug Mode.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment


        • #5
          So, here it is,

          An unexpected error was returned: 'Cannot use object of type vB_dB_MYSQL_Result as array'

          Exception trace:​

          Code:
          ## phar:///web/htdocs/www.funiforum.org/home/funiforum/core/vb/vb.phar/db/assertor.php(389) Exception Thrown
          #0 phar:///web/htdocs/www.funiforum.org/home/funiforum/core/vb/vb.phar/api/usergroup.php(476): vB_dB_Assertor->insert()
          #1 phar:///web/htdocs/www.funiforum.org/home/funiforum/core/vb/vb.phar/api/wrapper.php(205): vB_Api_UserGroup->save()
          #2 /web/htdocs/www.funiforum.org/home/funiforum/core/admincp/usergroup.php(716): vB_Api_Wrapper->__call()
          #3 /web/htdocs/www.funiforum.org/home/funiforum/includes/api/interface/collapsed.php(149): require_once('...')
          #4 /web/htdocs/www.funiforum.org/home/funiforum/includes/vb5/frontend/controller/relay.php(33): Api_Interface_Collapsed->relay()
          #5 /web/htdocs/www.funiforum.org/home/funiforum/index.php(65): vB5_Frontend_Controller_Relay->admincp()
          #6 {main}​

          Comment


          • #6
            Any news?

            Comment


            • #7
              No.. Sorry. We have not received either the full MySQL Error or the entire PHP error from Debug Mode or the PHP Error Log. An exception trace isn't sufficient. It just says an error happened at this line, not what the specific error is.

              Please submit a Support Ticket. In the ticket provide complete access to your server (SFTP, MySQL, and AdminCP) and the specific steps to reproduce the error.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X