{"id":60672,"date":"2025-04-26T10:49:45","date_gmt":"2025-04-26T02:49:45","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60672\/"},"modified":"2025-04-26T10:49:45","modified_gmt":"2025-04-26T02:49:45","slug":"zen-cart-rss-feed-parse_url%e5%87%ba%e9%94%99","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60672\/","title":{"rendered":"Zen Cart RSS feed parse_url()\u51fa\u9519"},"content":{"rendered":"<p>&nbsp;<span style=\"font-size: 12px;line-height: 22px\">\u67e5\u770b\u4e00Zen Cart\u7ad9\u7684error_log\uff0c\u53d1\u73b0\u5f88\u591aPHP Warning\uff0c\u5982\u4e0b\uff1a<\/span><\/p>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>1<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>PHP Warning:&nbsp; parse_url() expects parameter 1 to be string, array given in \/home\/profeth1\/public_html\/domain\/includes\/classes\/rss_feed.php on line 450<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">\u7f16\u8f91includes\/classes\/rss_feed.php\uff0c\u5728\u51fd\u6570_clear_url\u7684\u5f00\u59cb\u90e8\u5206\u52a0\u4e2a\u5224\u65ad\uff1a\u5982\u679c\u53c2\u6570\u4e0d\u662fString\u5219\u4e0d\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>1<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>function<\/code>&nbsp;<code>_clear_url(<\/code><code>$str<\/code><code>) {<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>2<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>&nbsp;&nbsp;<\/code><code>\/\/ added by p.c.w.l<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>3<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>&nbsp;&nbsp;<\/code><code>if<\/code>&nbsp;<code>(!<\/code><code>is_string<\/code><code>(<\/code><code>$str<\/code><code>)) {<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>4<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>return<\/code>&nbsp;<code>$str<\/code><code>;<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>5<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>&nbsp;&nbsp;<\/code><code>}<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\u67e5\u770b\u4e00Zen Cart\u7ad9\u7684error_log\uff0c\u53d1\u73b0\u5f88\u591aPHP Warning\uff0c\u5982\u4e0b\uff1a 1 PHP Warning:&nbsp; parse_url() expects parameter 1 to be string, array given in \/home\/profeth1\/public_html\/domain\/includes\/classes\/rss_feed.php on line 450 \u7f16\u8f91includes\/classes\/rss_feed.php\uff0c\u5728\u51fd\u6570_clear_url\u7684\u5f00\u59cb\u90e8\u5206\u52a0\u4e2a\u5224\u65ad\uff1a\u5982\u679c\u53c2\u6570\u4e0d\u662fString\u5219\u4e0d\u8fdb\u884c\u5904\u7406\u3002 1 function&nbsp;_clear_url($str) { 2 &nbsp;&nbsp;\/\/ added by p.c.w.l 3 &nbsp;&nbsp;if&nbsp;(!is_string($str)) { 4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;$str; 5 &nbsp;&nbsp;}<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60672","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60672"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60672\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}