{"id":11161492,"date":"2019-02-02T19:44:53","date_gmt":"2019-02-02T19:44:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-with-wp_enqueue_script-2\/"},"modified":"2019-02-02T19:44:53","modified_gmt":"2019-02-02T19:44:53","slug":"problem-with-wp_enqueue_script-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-with-wp_enqueue_script-2\/","title":{"rendered":"problem with wp_enqueue_script"},"content":{"rendered":"<p>I inherited a site that uses some custom plugins. One of them issues this call &#8211; wp_enqueue_script(&#8216;inline-edit-post&#8217;); &#8211; the site is running WP 4.9.6 on PHP 5.4<\/p>\n<p>I have copied the site to another server running PHP 7.2 and am unable to login as admin because of a problem with the wp_enqueue_script call. Is this a PHP version issue?<\/p>\n<p>Any advice would be appreciated.<\/p>\n<p>I intend to upgrade the site and want to know what issues I may encounter. Apparently I have encountered my first one. <\/p>\n<p>The front end of the site works fine so far&#8230;<\/p>\n<p>Thank you<\/p>\n","protected":false},"template":"","class_list":["post-11161492","topic","type-topic","status-publish","hentry","topic-tag-wp_enqueue_script"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11161492","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11161492\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11161492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}