Bug First post is missing after import from OzzModz

RockGermany

Customer
I imported the data from [OzzModz] Advanced Forms 2.2.5 Patch Level 1. After that, the first post is missing in all discussions and I get an error message in the admin panel when opening the discussions.

Code:
InvalidArgumentException: Accessed unknown getter 'groupid' on DBTech\SocialGroups:Group[219] src/XF/Mvc/Entity/Entity.php:228

Code:
#0 src/XF/Mvc/Entity/Entity.php(140): XF\Mvc\Entity\Entity->get('groupid')
#1 internal_data/code_cache/templates/l3/s9/public/PAGE_CONTAINER.php(3351): XF\Mvc\Entity\Entity->offsetGet('groupid')
#2 src/XF/Template/Templater.php(1800): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#3 src/XF/Pub/App.php(621): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#4 src/XF/App.php(2573): XF\Pub\App->renderPageHtml('
  





  

  


...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#5 src/XF/Mvc/Dispatcher.php(414): XF\App->renderPage('
  





  

  


...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#6 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#8 src/XF.php(806): XF\App->run()
#9 index.php(23): XF::runApp('XF\\Pub\\App')
#10 {main}


Code:
array(4) {
  ["url"] => string(52) "/dbtech-social/discussions/abriss-januar-2024.14777/"
  ["referrer"] => string(79) "xxxxxxxxxx/dbtech-social/game-of-farms.219/discussions/list/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }

1737145511525.webp


1737145466494.webp
 
Last edited:
No, PAGE_CONTAINER is unedited. (I make changes to this with my own add-on)

There is also no difference with the standard design or if I deactivate the PAGE_CONTAINER changes in all add-ons.
 
xf_snog_groups_discussions:

discussion_idparent_idtitleuser_idusernamedategroupidmessageip_idstatelast_post_bylast_post_user_idlast_post_idlast_post_dateparticipant_countreply_countdeleted_byreasondelete_datelikeslike_users
147770Abriss Januar 20249718NightKini1705178522219Warum gibts kein aktuelles Thema hierfür? Sobald i...0visibleWoofington69061479017052261807901

xf_dbtech_social_groups_discussion:

discussion_idgroup_idsection_idtitlereply_countview_countuser_idusernamemessage_datestickydiscussion_statediscussion_opendiscussion_typefirst_message_idfirst_message_reaction_scorefirst_message_reactionslast_message_datelast_message_idlast_message_user_idlast_message_usernametags
147772190Abriss Januar 2024856906Woofington17051787010visible11477821705226180147906906Woofington
 
Does the user who posted the original post still exist? If it's a deleted user, that could explain why it wouldn't import.
 
The user still exists.

We have over 250 groups with over 1000 discussions. It happens to everyone. I have already converted the data three times with the same result that the first post in a discussion disappears.

The "import_log_snogsocialgroups" also looks correct. 14777 is the post from NightKini, 14778 is from Woofington.

import_log_idcontent_typeold_idnew_id
1364dbt_sg_comment1477714777
 
Could you please use the "Attach secure data" button to allow me access to your site so I can look into this further?

The attached data is encrypted before being saved, and the decryption key will be emailed to both of us. The decrypted information is not stored in the browser nor on our servers. You can purge the data entirely at any point by clicking the "Delete secure data" button.

As this is a much more secure method of exchanging sensitive information, I am unable to accept private messages / conversations with sensitive information. If you have previously submitted private messages / conversations with sensitive information, please ensure this information has been changed and that it is no longer valid.
 
In that case I am unable to assist you further as no one else who has used this importer has experienced the same issue.
 
Maybe they were using older versions. I have everything up to date.

The only other hint I can give is that when opening the Snog groups, "Accessed unknown getter 'text_direction' " and "Accessed unknown getter 'language_code' " errors are thrown every time.

Alternatively, I can export the tables. But database and admin-CP access is absolutely not possible.
 
You cannot run both versions at the same time, Snog’s must be disabled if you want to run DBTech one. That could explain the server error.
 
That could explain the server error.
You are right, if I disable Snog the error "Accessed unlimited getter 'groupid'" no longer appears.

However, the error remains that the first post in each discussion is still missing. ("Preserve Content IDs" makes no difference when importing, except that the posts have different numbers.)


Back to my examples:

Post 14777 is missing in "xf_dbtech_social_groups_message".
The "Username" in "xf_dbtech_social_groups_discussion" is incorrect (see post #6).

"xf_dbtech_social_groups_message" has 10558 records
"xf_dbtech_social_groups_discussion" has 1146 records
"xf_snog_groups_discussions" has 11706 records

The error definitely occurs during the import. The text from post 14777 is not imported.

Screenshot 2025-01-18 231914.webp


Another nice example:

1737239013537.webp

After opening, there is an "Oops"
 
I took another look at the importer and I found the issue, I'll correct it in the next version, thanks :)

I'll see if I can release the update tomorrow.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future release (2.2.3).

Change log:
Fix: [OzzModz] Social Groups importer will now properly import the first post of group comments

 
Hello @RockGermany,

We hope your ticket regarding DragonByte Social Groups has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 

DragonByte Social Groups

XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
222
Customer rating
0.00 star(s) 0 ratings
Back
Top