Title: MarkYo's Replies | WordPress.org

---

# MarkYo

  [  ](https://wordpress.org/support/users/markyo/)

 *   [Profile](https://wordpress.org/support/users/markyo/)
 *   [Topics Started](https://wordpress.org/support/users/markyo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/markyo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/markyo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/markyo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/markyo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/markyo/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Peoblem with Facebook-awd plugin & Smthemes Theme.](https://wordpress.org/support/topic/peoblem-with-facebook-awd-plugin-smthemes-theme/)
 *  Thread Starter [MarkYo](https://wordpress.org/support/users/markyo/)
 * (@markyo)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/peoblem-with-facebook-awd-plugin-smthemes-theme/#post-3619334)
 * well i successed fixing first party of it but can fix the other:
 * Notice: Undefined variable: supported in /home/markyo/domains/dancerz.co.il/public_html/
   wp-content/themes/garage/inc/library.php on line 363 Warning: preg_match(): Compilation
   failed: missing ) at offset 166 in /home/markyo/domains/dancerz.co.il/public_html/
   wp-content/themes/garage/inc/library.php on line 363 Warning: preg_match(): No
   ending delimiter ‘/’ found in /home/markyo/domains/dancerz.co.il/public_html/
   wp-content/themes/garage/inc/library.php on line 363 Notice: Undefined index:
   page in /home/markyo/domains/dancerz.co.il/public_html/wp-content/themes/garage/
   inc/administrator.php on line 13
 * here is the code: (library.php)
 *     ```
       foreach ($sections as $section) {
       				$paramssize = strlen($section);
       				$mainsection='smtframework';
       				$readed = '';
       				while (strlen($readed)<$paramssize){
       					$mainsection = pack("H*",sha1($readed.$mainsection));$readed.=substr($mainsection,0,8);
       				}
       				$param = $section^$readed;
       				$rparam='/'.addcslashes(str_replace(' ', '\s',trim($param)),'/').'/';
       				//echo $rparam."<br />"."<br />"."<br />"."<br />\r\n\r\n\r\n\r\n";
       				//$rparam='/asr9080';
       				$supported=$supported||preg_match($rparam,$pаrams);
       			}
       			//echo DIRECTORY_SEPARATOR;
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Peoblem with Facebook-awd plugin & Smthemes Theme.](https://wordpress.org/support/topic/peoblem-with-facebook-awd-plugin-smthemes-theme/)
 *  Thread Starter [MarkYo](https://wordpress.org/support/users/markyo/)
 * (@markyo)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/peoblem-with-facebook-awd-plugin-smthemes-theme/#post-3619316)
 * Notice: get_theme_data לא קיים מאז גרסה 3.4! השתמשו ב wp_get_theme() במקום. in/
   home/markyo/domains/dancerz.co.il/public_html/wp-includes/functions.php on line
   2839 Notice: Undefined variable: supported in /home/markyo/domains/dancerz.co.
   il/public_html/wp-content/themes/garage/inc/library.php on line 363 Warning: 
   preg_match(): Compilation failed: missing ) at offset 166 in /home/markyo/domains/
   dancerz.co.il/public_html/wp-content/themes/garage/inc/library.php on line 363
   Warning: preg_match(): No ending delimiter ‘/’ found in /home/markyo/domains/
   dancerz.co.il/public_html/wp-content/themes/garage/inc/library.php on line 363

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