Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter lippi

    (@lippi)

    Ok, I found the way in FAQ ??

    Thread Starter lippi

    (@lippi)

    I’ve noticed that I don’t have “Font family” option in Typography. As You mentioned wp_remote_get doesn’t work. I need to fix it. Thank You.

    • This reply was modified 3 years, 5 months ago by lippi.
    Thread Starter lippi

    (@lippi)

    I’ve temporarily solved problem. Warning occurs if website doesn’t use Google Fonts and get_font_index function receives empty array.

    
    /*** Find the index of the saved font in our multidimensional array of Google Fonts ***/
    public function get_font_index( $haystack, $needle ) {
    	if ( isset( $haystack ) && !empty( $haystack )) { -- fix
    		foreach( $haystack as $key => $value ) {
    			if( $value->family == $needle ) {
    				return $key;
    			}
    		}
    	}
    	return false;
    }
    
    • This reply was modified 3 years, 5 months ago by lippi.
    • This reply was modified 3 years, 5 months ago by lippi.
    Thread Starter lippi

    (@lippi)

    Mmm… I don’t know what’s going on. After upgrade to 2.8 it doesn’t work at all. My Contributor can register as many posts as he/she wants (limit is set by USER_ID). In my opinion it’s not just related with “any” type. As I remember last working plugin version was 2.4. I’ll try to install fresh copy of WP and then try to install 2.8. Maybe something is wrong with update process. Any ideas?

    Ps. Could You tell me where Your plugin keeps limits? During uninstall process limits seems not to be deleted. After reinstall I can see my limits from previous version.

    Thread Starter lippi

    (@lippi)

    The problem with warnings and “blank page” seems to be solved, but plugin doesn’t block users after reaching limits now. I chosen one user and defined 3 posts limit in any type (by USER_ID). I saved limit.

    After relogin as my test user I can add as many posts as I want. My user is Contributor.

    Plugin doesn’t work even if I set a limit on a Role. I couldn’t find any combination to make it works.

    Thread Starter lippi

    (@lippi)

    Ok, seems that after upgrade it works with problems. Turning on new version of plugin causes warnings on a blank page (after confirmation of post):

    Warning: Missing argument 2 for bapl::limit_xml_rpc() in /homez.136/naklubow/wazne.com.pl/wp-content/plugins/bainternet-posts-creation-limits/bapl.php on line 60

    Warning: Missing argument 2 for bapl::limit_xml_rpc() in /homez.136/naklubow/wazne.com.pl/wp-content/plugins/bainternet-posts-creation-limits/bapl.php on line 60

    Warning: Cannot modify header information – headers already sent by (output started at /homez.136/naklubow/wazne.com.pl/wp-content/plugins/bainternet-posts-creation-limits/bapl.php:60) in /homez.136/naklubow/wazne.com.pl/wp-includes/pluggable.php on line 881

    If I get into posts manually after “blank page” problem, I can see my new post.

    Thread Starter lippi

    (@lippi)

    Thank You. After upgrade from previous version, compiler shows warning:

    Warning: Missing argument 2 for bapl::limit_xml_rpc() in /www/wp-content/plugins/bainternet-posts-creation-limits/bapl.php on line 60

    EDIT: After clean installation warning occurs too.

    I found what causes malfunction ??
    AAM is incompatible with kk Star Ratings plugin.

Viewing 8 replies - 1 through 8 (of 8 total)