Florin Oprea
Forum Replies Created
-
Forum: Plugins
In reply to: [Login IP & Country Restriction] Conflict: P3 (Plugin Performance Profiler)Hi,
It’s up to you if you find that using strict_types is suitable or not in this moment. There could be more plugins incompatible with this.
It seems that there is no performance advantages (yet) for using strict_types in PHP.
Florin.Forum: Plugins
In reply to: [Login IP & Country Restriction] Conflict: P3 (Plugin Performance Profiler)Hi, Iulia,
If P3 (Plugin Performance Profiler) is already activated, then I cannot activate Login IP & Country Restriction. The message is:
Plugin could not be activated because it triggered a fatal error. Fatal error: strict_types declaration must be the very first statement in the script in /home/..../public_html/wp-content/plugins/login-ip-country-restriction/login-restrict-country.php on line 33
If there is Login IP & Country Restriction activated and I activate P3 (Plugin Performance Profiler) then the entire blog is down (blank). The same error is found in this case in the site logs.
My solution was to comment this line:
//declare( strict_types = 1 );
Regards,
FlorinForum: Plugins
In reply to: [Authors List] custom classThis is even better! ??
I can not wait!Forum: Themes and Templates
In reply to: [Griffin] 404 page broken?Forum: Themes and Templates
In reply to: [Griffin] search troublesThis is the solution. For 404 error too.
Change the following lines:content-none.php
<div id=”post-content”>
–>
<div id=”post-content” class=”teaser” style=”width:100%;”>wp-content/themes/griffin/assets/js/griffin.js
if($(‘body’).hasClass(‘blog’) || $(‘body’).hasClass(‘search-results’) || $(‘body’).hasClass(‘archive’)) {
–>
if($(‘body’).hasClass(‘blog’) || $(‘body’).hasClass(‘search-results’) || $(‘body’).hasClass(‘search-no-results’) || $(‘body’).hasClass(‘error404’) || $(‘body’).hasClass(‘archive’)) {