OPR Posted June 21, 2017 Report Posted June 21, 2017 When we load the Banners content we got the following error message Fatal error: Uncaught ArgumentCountError: Too few arguments to function deliverVastAd(), 11 passed in /var/adserver/plugins/bannerTypeHtml/vastInlineBannerTypeHtml/vastInlineHtml.delivery.php on line 65 and exactly 12 expected in /var/adserver/plugins/bannerTypeHtml/vastInlineBannerTypeHtml/commonDelivery.php:23 Stack trace: #0 /var/adserver/plugins/bannerTypeHtml/vastInlineBannerTypeHtml/vastInlineHtml.delivery.php(65): deliverVastAd('vastInline', Array, 0, '', '', true, false, false, NULL, '', '') #1 /var/adserver/lib/max/Delivery/common.php(667): Plugin_bannerTypeHtml_vastInlineBannerTypeHtml_vastInlineHtml_Delivery_adRender (Array, 0, '', '', true, false, false, NULL, true, '', '') #2 /var/adserver/lib/max/Delivery/adRender.php(108): OX_Delivery_Common_hook('adRender', Array, 'Plugin_bannerTy...') #3 /var/adserver/lib/max/other/html.php(1528): MAX_adRender(Array, 0, '', '_blank', '', true, '', false, false) #4 /var/adserver/www/admin/campaign-banners.php(185): MAX_bannerPreview('1149') #5 {main} thrown in /var/adserver/plugins/bannerTypeHtml/vastInlineBannerTypeHtml/commonDelivery.php on line 23 Quote
andrewatfornax Posted June 22, 2017 Report Posted June 22, 2017 Hi @OPR, https://documentation.revive-adserver.com/display/DOCS/Revive+Adserver+Broken ? Quote
OPR Posted June 22, 2017 Author Report Posted June 22, 2017 But our case is "Too few arguments to function deliverVastAd()" when loading some Ad info. According to above log, the "function" expect 12 arguments but our program only loaded 11 arguments. Can you help us to fix this problem ? Quote
OPR Posted June 22, 2017 Author Report Posted June 22, 2017 We fixed this problem as this /var/adserver/plugins/bannerTypeHtml/vastInlineBannerTypeHtml/vastInlineHtml.delivery.php at line 65 change to return deliverVastAd('vastInline', $aBanner, $zoneId, $source, $ct0, $withText, $logClick, $logView, $useAlt,$richMedia=true, $loc, $referer); Anyone has this experience. Is it any impact ? Quote
andrewatfornax Posted June 27, 2017 Report Posted June 27, 2017 Hi @OPR, Sounds to me like the plugins were not necessarily correctly upgraded, and the link above I think includes steps to review that? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.