Categories
CMS Mastering Development Wordpress

Disable Adsense ad code in 404 deleted posts and pages

recently I got deleted some of older posts, now AdSense crawler throws a continuous error so that I used a code to block AdSense on 404 pages, I found an online solution, The php-code snippet which hides/blocks Adsense ads on 404’s is: ADD HERE YOUR ADSENSE CODE Note: the logic of the code is to […]

Categories
Mastering Development System & Network

Unknown PTR record in DNS; it’s not there in Cloudflare DNS Settings

(1.) There is an extra, unwanted, unexpected, unadded PTR record in my DNS settings, with value set to the Domain Name “mediati.net”. You can see it here in MxToolbox Reverse Lookup: MxToolbox shows unwanted PTR TXT record (2.) cPanel also notices and complains about the extra PTR record: cPanel also complains about the extra PTR […]

Categories
Mastering Development

Setting URL with logged in user id from the front end blade in LARAVEL 6

Hello I’m trying to set an URL (href) from my blade(welcome.blade.php) to logged in user’s user profile. My url has to be like this -> sample.com/profile/24 there, 24 is logged in user’s user id <a href=”‘)}}” class=”btn btn-primary”>profile</a> but when I run the code it gives me following exception, Facade\Ignition\Exceptions\ViewException syntax error, unexpected ‘}’, expecting […]

Categories
Mastering Development System & Network

Unknown PTR record in DNS; it’s not there in Cloudflare DNS Settings

(1.) There is an extra, unwanted, unexpected, unadded PTR record in my DNS settings, with value set to the Domain Name “mediati.net”. You can see it here in MxToolbox Reverse Lookup: MxToolbox shows unwanted PTR TXT record (2.) cPanel also notices and complains about the extra PTR record: cPanel also complains about the extra PTR […]

Categories
CMS Development Wordpress

Parse error: syntax error, unexpected ‘,’

I have been following along a basic tutorial on creating a simple theme structure. I have searched quite a few articles to get an understanding and looked at debugging tips, however I am at a loss, probably due to me limited knowledge base. At this stage I had downloaded bootstrap css and js folders. This […]

Categories
CMS Development Wordpress

Parse error: syntax error, unexpected ‘,’

I have been following along a basic tutorial on creating a simple theme structure. I have searched quite a few articles to get an understanding and looked at debugging tips, however I am at a loss, probably due to me limited knowledge base. At this stage I had downloaded bootstrap css and js folders. This […]

Categories
CMS Development Wordpress

Parse error: syntax error, unexpected ‘,’

I have been following along a basic tutorial on creating a simple theme structure. I have searched quite a few articles to get an understanding and looked at debugging tips, however I am at a loss, probably due to me limited knowledge base. At this stage I had downloaded bootstrap css and js folders. This […]

Categories
CMS Development Wordpress

Parse error: syntax error, unexpected ‘,’

I have been following along a basic tutorial on creating a simple theme structure. I have searched quite a few articles to get an understanding and looked at debugging tips, however I am at a loss, probably due to me limited knowledge base. At this stage I had downloaded bootstrap css and js folders. This […]

Categories
CMS Development Wordpress

How to fix this error? “FATAL ERROR syntax error, unexpected ‘<', expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) on line number 88"

I’m getting an error at the 88th line “FATAL ERROR syntax error, unexpected ‘<‘, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF)” It broke my site, how can I fix it? (I’m new to coding) Thank you!! <?php /** * Related Products * * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version […]

Categories
CMS Development Wordpress

Echo short code syntax

I want to make dynamic short code so insert php code of metabox text value to short code. I wrote this: <?php echo do_shortcode(“[svg-flag flag=\””.get_post_meta($post->ID, ‘ozellikler_text’, true);”.\”]”); ?> Error : Parse error: syntax error, unexpected ‘;’, expecting ‘,’ or ‘)’ in /home/deniztas/themeforest-deneme2.deniz-tasarim.site/wp-content/themes/html5blank-stable/my_homepages/right.php on line 14 I explain what I want step by step: There is […]