WPIntell

Source evidence

Undefined variable $htaccess_code

Disable XML-RPC-API · support · 2022-09-12T10:49:00+00:00

mixedsentiment
mediumseverity
0.78relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 25 rows with source links

12.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
alighaffaari resolved
Hi there, I get this log message printed at the top of the Plugins page: Undefined variable $htaccess_code in ../wp-content/plugins/disable-xml-rpc-api/disable-xml-rpc-api.php:228 I looked at the line mentioned in the message and found out that when “hotlink fix” is disabled, the variable $htaccess_code is never defined (first defined in the if block, when hotlink fix is enabled). So, concatenating $htaccess_code causes this warning message. I guess something like $htaccess_code = ''; is required before the if block. This topic was modified 3 years, 9 months ago by alighaffaari . This topic was modified 3 years, 9 months ago by alighaffaari . Hi @alighaffaari Hope you are doing well today. This issue has been fixed in the last plugin version (Version 2.1.4.3). Please check your plugin for updates. Regards This reply was modified 3 years, 9 months ago by sehreideas . Hi @sehreideas , Thanks for your quick reply and I hope your are also doing well. I am using Version 2.1.4.3 and I get this message when I disable hotlink fix. Bests Hi @alighaffaari A new version has been released you can update the plugin to fix the issue. I’m closing this thread feel free to open a new one if you have any other issues. Regards

Comments

3 shown
sehreideas 2022-09-12T19:18:00+00:00

Hi @alighaffaari Hope you are doing well today. This issue has been fixed in the last plugin version (Version 2.1.4.3). Please check your plugin for updates. Regards This reply was modified 3 years, 9 months ago by sehreideas .

alighaffaari 2022-09-13T08:54:00+00:00

Hi @sehreideas , Thanks for your quick reply and I hope your are also doing well. I am using Version 2.1.4.3 and I get this message when I disable hotlink fix. Bests

sehreideas 2022-09-17T06:19:00+00:00

Hi @alighaffaari A new version has been released you can update the plugin to fix the issue. I’m closing this thread feel free to open a new one if you have any other issues. Regards