You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the documentation generator and the following error occurred:
PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/joe/git/xrnx/Xtra/HtmlGen/api_to_html.php on line 152
And it spit out .html pages with no documentation.
I have PHPv7 on my machine. I've never touched PHP code before, so I looked at their docs and found this.
And it worked...mostly. The header_transform function came out as plain text on the .html page:
header_transform('============================================================================', 'Renoise Script Debugging HowTo ') In addition to the usual print....
The text was updated successfully, but these errors were encountered:
For your fix: header_transform is a function in global space found a bit higher up in the file (line ~51). You must remove the quotes which is converting it to a string. Try:
I tried running the documentation generator and the following error occurred:
And it spit out .html pages with no documentation.
I have PHPv7 on my machine. I've never touched PHP code before, so I looked at their docs and found this.
So I changed api_to_html.php at L152 to this:
And it worked...mostly. The
header_transform
function came out as plain text on the .html page:The text was updated successfully, but these errors were encountered: