php - Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR) - I've looked at other threads -


hello!

i've taken @ other threads , tried apply fixes can't seem anywhere.

basically - i've had nightmare.

the wp google maps plugin no longer runs because idiot , made changes code.

i'd love if let me know went wrong , how fix it.

here's think error is (where made changes)

   $ret_msg .= "    <div class=\"wpgmza_sl_search_button\"><input type=\"button\" onclick=\"searchlocations($map_id)"\" value=\"".__("search","wp-google-maps")."\"/></div>";     $ret_msg .= "</div>";     $ret_msg .= "    <div class='wpgmza-not-found-msg js-not-found-msg'><p>" . $sl_not_found_message . "</p></div>";     $ret_msg .= "    <div hidden><select id=\"locationselect\" style=\"width:100%;\"></select></div>";      return $ret_msg; 

here's link full code:

wpgooglemaps.php

thank much!

first line :

$ret_msg = "    <div class=\"wpgmza_sl_search_button\"><input type=\"button\" onclick=\"searchlocations($map_id)\" value=\"".__("search","wp-google-maps")."\"/></div>"; 

wrong : onclick=\"searchlocations($map_id)"\"

good : onclick=\"searchlocations($map_id)\"


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -