• Resolved guystarbuck

    (@guystarbuck)


    Hello,

    Thank you for any help.

    I have just done a clean install of wordpress 3.4.1 but I am getting some errors on the dashboard and other admin pages:

    Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unknown option bit(s) set at offset -1 in /home/..../public_html/exploring/wp-includes/compat.php on line 30
    
    Warning: array_slice() expects parameter 1 to be array, null given in /home/..../public_html/exploring/wp-includes/compat.php on line 31
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home/..../public_html/exploring/wp-includes/compat.php on line 32

    phpinfo starts off with this:

    PHP Version 5.3.13
    
    System	Linux host......com 2.6.18-028stab094.3 #1 SMP Thu Sep 22 12:47:37 MSD 2011 x86_64
    Build Date	Jul 2 2012 12:13:20
    Configure Command	 './configure' '--disable-fileinfo' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-pdo=shared' '--enable-sockets' '--enable-zend-multibyte' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curl/' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'
    Server API	Apache 2.0 Handler
    Virtual Directory Support	disabled
    Configuration File (php.ini) Path	/usr/local/lib
    Loaded Configuration File	/usr/local/lib/php.ini
    Scan this dir for additional .ini files	(none)
    Additional .ini files parsed	(none)
    PHP API	20090626
    PHP Extension	20090626
    Zend Extension	220090626
    Zend Extension Build	API220090626,NTS
    PHP Extension Build	API20090626,NTS
    Debug Build	no
    Thread Safety	disabled
    Zend Memory Manager	enabled
    Zend Multibyte Support	enabled
    IPv6 Support	enabled
    Registered PHP Streams	compress.zlib, php, file, glob, data, http, ftp, phar
    Registered Stream Socket Transports	tcp, udp, unix, udg
    Registered Stream Filters	zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

    Has anyone run across these errors before? I deleted wp-admin and wp-includes dirs and re-uploaded them. they are clean.

    Any help is greatly appreciated!

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.

    Thread Starter guystarbuck

    (@guystarbuck)

    Ok, I did that, but no change. Thanks.

    Thread Starter guystarbuck

    (@guystarbuck)

    Issue resolved by updating php mods and rebooting server. Thank you.

    I just had the same issue after updating php from 5.3.8 to 5.3.13. All I did was re-run the EasyApache (cPanel server) with the same settings, and the warnings went away. This post saved me a lot of time, thanks!

    Getting the same errors but restarting the server didn’t do the trick.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘clean install, warnings on dashboard’ is closed to new replies.