alternadiv
Well-known member
I just upgraded from shared hosting to a VPS. Something I wasn't expecting to happen is the mess it caused as far as DNS propagation goes. We are almost 24 hours later now and some devices/browsers are still seeing old and broken versions of the website. And that is even with clearing cache and flushing system DNS. I didn't change hosting providers so I wasn't expecting problems.
Now that some of us are able to see the website on the new server and without weird errors in the layout (missing CSS), there are server errors being thrown when making a post/message/submitting anything really. I am hoping this is because the DNS propagation isn't done but I do want to make sure these errors aren't something more severe that are going to continue for a while.
Now that some of us are able to see the website on the new server and without weird errors in the layout (missing CSS), there are server errors being thrown when making a post/message/submitting anything really. I am hoping this is because the DNS propagation isn't done but I do want to make sure these errors aren't something more severe that are going to continue for a while.
Code:
ParseError: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) src/vendor/minishlink/web-push/src/WebPush.php:24
Generated by: Mr. Nobody May 30, 2019 at 8:37 AM
Stack trace
#0 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/tacomagc/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Minishlink\\WebP...')
#2 src/XF/Service/PushNotification.php(278): spl_autoload_call('Minishlink\\WebP...')
#3 src/XF/Service/PushNotification.php(127): XF\Service\PushNotification->getWebPushObject()
#4 src/XF/Service/PusherTrait.php(159): XF\Service\PushNotification->sendNotifications()
#5 src/XF/Repository/UserAlert.php(147): XF\Service\Alert\Pusher->push()
#6 src/XF/Repository/UserAlert.php(111): XF\Repository\UserAlert->insertAlert(1, 184, 'Mr. Nobody', 'post', 34978, 'quote', Array)
#7 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(XF\Entity\User), 184, 'Mr. Nobody', 'post', 34978, 'quote', Array)
#8 src/XF/Notifier/Post/Quote.php(30): XF\Notifier\AbstractNotifier->basicAlert(Object(XF\Entity\User), 184, 'Mr. Nobody', 'post', 34978, 'quote')
#9 src/XF/Service/AbstractNotifier.php(86): XF\Notifier\Post\Quote->sendAlert(Object(XF\Entity\User))
#10 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\Quote), Array, G)
#11 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#12 src/XF/Service/Thread/Replier.php(205): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#13 src/XF/Pub/Controller/Thread.php(330): XF\Service\Thread\Replier->sendNotifications()
#14 src/XF/Pub/Controller/Thread.php(463): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#15 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Thread), NULL)
#17 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Thread), NULL)
#18 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
Request state
array(4) {
["url"] => string(61) "/threads/unexpected-downtime-today-may-29-2019.8796/add-reply"
["referrer"] => string(72) "https://tacoma3g.com/threads/unexpected-downtime-today-may-29-2019.8796/"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["message_html"] => string(278) "<p>[QUOTE="Tyler, post: 34977, member: 1"]</p><p>This really sucks. If I knew this was going to happen I would’ve waited until Saturday when the site is less busy.</p><p>[/QUOTE]</p><p><br></p><p>It's all good @Tyler !! You meant well, sometimes s**t happens 🤷♂️</p>"
["attachment_hash"] => string(32) "d5576d4aebeffdcf9f6a5d4e2240c041"
["attachment_hash_combined"] => string(86) "{"type":"post","context":{"thread_id":8796},"hash":"d5576d4aebeffdcf9f6a5d4e2240c041"}"
["last_date"] => string(10) "1559189517"
["last_known_date"] => string(10) "1559189517"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(52) "/threads/unexpected-downtime-today-may-29-2019.8796/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}