跳到内容 跳到侧边栏
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

支持人员时区: Asia/Karachi (GMT+05:00)

本主题包含 0 則回覆 ,有 1 声音 。

最后由 鎌田 龍一 5 months, 3 weeks前 更新。

协助者:: Noman.

作者 帖子
2025 年 10 月 29 日 于 下午 1:51 #17529690

鎌田 龍一

Background of the issue:
I experienced a critical Array to string conversion error related to a Custom HTML Widget containing the PHP execution shortcode: [myphp file='layout-parts']. I have increased the WP Memory Limit to 128M.

Symptoms:
The error persists whenever I attempt to edit, save, or DELETE the specific Custom HTML Widget from Appearance >> Widgets. The site immediately crashes.

Questions:
I need a permanent solution to safely create and manage a dedicated Custom HTML Widget for the English site.

Please provide the necessary steps or code to implement a custom wpml-config.xml file to permanently exclude the [myphp file='layout-parts'] shortcode and its widget metadata from the String Translation system.

主题'[關閉] I need a permanent, technical solution to safely use PHP Shortcodes in Custom HTML Widgets and preve…'已关闭,不接受新回复。