{"id":14431292,"date":"2021-05-12T16:46:07","date_gmt":"2021-05-12T16:46:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/syntax-error-211\/"},"modified":"2021-05-12T16:48:51","modified_gmt":"2021-05-12T16:48:51","slug":"syntax-error-211","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/syntax-error-211\/","title":{"rendered":"Syntax error"},"content":{"rendered":"<p>Hi &#8211; I got an alert from Wordfence, and yes, the plugin is causing a serious error on the site. I was trying to add a new page when I got this error:<\/p>\n<p>syntax error, unexpected &#8216;const&#8217; (T_CONST), expecting variable (T_VARIABLE) in \/home\/customer\/www\/MYWEBSITE\/public_html\/wp-content\/plugins\/magic-post-thumbnail\/inc\/monolog\/vendor\/monolog\/monolog\/src\/Monolog\/Logger.php on line 33<\/p>\n<p>Can someone look into it? I updated the plugin after getting the Wordfence email, and the error is still there.<\/p>\n<p>Edit: the email was from WordPress, the built-in error detector, not Wordfence.<\/p>\n","protected":false},"template":"","class_list":["post-14431292","topic","type-topic","status-publish","hentry","topic-tag-site-broken","topic-tag-syntax-error"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14431292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14431292\/revisions"}],"predecessor-version":[{"id":14431307,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14431292\/revisions\/14431307"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14431292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}