Bug Auto-bumps broke

Status
Not open for further replies.

mikez006

Customer
Starting on July 28th, new purchases for the auto-bump item no longer work. Old auto-bumps still work, but nothing purchased from July 28th.

The threads do not bump every x hrs as they should.

I think there might have been an update to my server that caused this problem.

Fillip I did not yet implement the fix for the Credit PIN problem I email you about, so that is not the cause.


This is the error I get when the auto-bump cron job runs: (im not sure why credits_vbulletin.php is used when the auto-bump cron is run)


PHP Warning: array_merge(): Argument #1 is not an array in ..../dbtech/credits/credits_vbulletin.php on line 622

Fatal User Error: Existing data passed is not an array
Called set_existing in ..../dbtech/vbshop_pro/items/autobump.php on line 169
Called autoBump in ..../dbtech/vbshop_pro/cron/autobump.php on line 68
Called include_once in ..../admin/cronadmin.php on line 116
in ..../includes/class_dm.php on line 265

#1 : vbstop() called in ..../includes/class_core.php on line 5815
#2 : vb_error_handler() called in on line
#3 : trigger_error() called in ..../includes/class_dm.php on line 265
#4 : vB_DataManager->set_existing() called in ..../dbtech/vbshop_pro/items/autobump.php on line 169
#5 : vBShop_Item_autobump->autoBump() called in ..../dbtech/vbshop_pro/cron/autobump.php on line 68
#6 : include_once(..../dbtech/vbshop_pro/cron/autobump.php) called in ..../admin/cronadmin.php on line 116
 
Last edited:
From looking at the code, the only way this could happen is if the thread the item is configured for doesn't exist. I've made a hotfix to v3.5.2 that should prevent the error from happening and the attempted autobump should silently fail.
 
Will the threads with auto-bumps purchased from today to July 28th start working? Or is this only for new auto-bump purchases?
 
The hotfix does not change any logic related to purchases, it only deals with the server error that would occur if a non-existent thread ID was added to an autobump item.
 
Hello mikez006,

This ticket has now been closed with the status Fixed.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

Legacy vBShop

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,260
Customer rating
0.00 star(s) 0 ratings
Back
Top